I’m making a dash attack for a enemy in my game and noticed that when I tween it to move forward, its arms sort of glitch behind and the enemy doesn’t move at all on the server. However on the client, everything appears perfectly normal. The hitbox to the dash attack also moves forward with the enemy on the client and sort of leaves the server side behind. I just don’t know whats going on anymore. Could anyone give me suggestions or insight on this problem?
Also, if I could provide you with a video I would. However, I don’t have any video recording software. Sorry!
You shouldn’t tween character model’s CFrame, It’ll mess up welds as they get confused on the server when tweened. To solve this, you should use any bodymover instance to dash instead.
I tried using Linear Velocity’s Line Velocity Constraint mode and set it to high speeds at first. However when it hit something like a wall or the spawn location it would begin flinging itself.
Sorry, I was about to go to sleep before I received your message. I’ll try what you suggested tomorrow and tell you if it works. Thanks for helping me out!
Sorry for the late response, but it worked great! I didn’t know there were any other body movers besides linear velocity. The only downside to vectorforce is that it seems the hitbox sort of lags behind. However, I don’t think its that big of a problem. Thanks for the help! (I’m pretty sure this is the first out of my 3 posts where I can mark a solution. Thanks again.)