Try some higher refresh rates like 0.2, 0.3, or 0.4. If it doesn’t work, keep modifying the values (both the refresh_rate and deltaTime multiplier).
it still cuts corners a lot. I tried a bunch of different values
Could you send a video of what this looks like? I’m confused on why it doesn’t work in the start but works later.
Ohhhhhh, I thought you said it only worked near the end, but I guess you meant the opposite. Could you clarify though? I don’t want to assume anything.
Oh, after they finish spawning, they work in perfect order.
Like what is the problem? I thought it was that they were cutting corners, but it doesn’t appear so?
Also, is the enemy a Model? If the problem is about loading, you could add a task.wait
before beginning the path.
no, they still cut corners when they are spawning in. If you look at the vid, you can see the enemies move really fast toward the pack.
Those aren’t enemies, those are body parts. This entire time I thought you meant the path they were taking was off course or something.
Can you test something for me and turn off streaming enabled? If it looks perfectly fine, then we know it was a loading problem, and I can find a solution for that.
yep its streaming enabled being streaming enabled. Sooooo how do i fix it?
Can you show me the StreamingEnabled settings? Try turning up the streaming radius and changing some settings.
You could also do what I said earlier:
Yeah I don’t think I can use streaming Enabled. Also, it’s really laggy at the start. Can I optimize it more
Are the model’s parts not loading quickly enough? You can also try caching the CFrame positions of each bezier path so you don’t have to calculate it every time.
Uhm… Dosent it already do that?
You’re saving the BezierPath, but you’re still doing this every time:
so do I save that to a table, and use that?
Wait so do i create it for every enemy?
Like with streaming enabled turned off?
Also, no need. I just realized BezierPath already caches it.
Yeah, its laggy at the start with streaming enabled turned off.
You can try making the enemy a part on the server, and then on the client, use the actual model. Are you also using the newest version of BezierPath? It was released 3 days ago.
And by laggy, I’m assuming you mean the parts aren’t loading quickly enough right?