RocketPropulsion causing an object to shake after reaching target

I have a small object (it’s a MeshPart, but works the same way with any standard part) that has a RocketPropulsion inside it. I’m using the RocketPropulsion to follow a target player so the object stays over that player’s shoulder.

That all works fine, but the issue is that if the player stops moving, the part will shake (moving back and forth really quickly from the target position). Ideally I’d like it to just sit in the same spot and stop moving.

I know using a BodyPosition would work here for what I want, but the problem is that I’d need to keep updating that position through code - which is why a RocketPropulsion seems to be a lot better (following the part instead). Is that just the way RocketPropulsions work or is there something I can do about it?

I have no experience with RocketPropulstion, but…

…you should try using an AlignPosition. Put one attachment over the player’s shoulder, one attachment in your MeshPart, then make an AlignPosition with those attachments. The physics engine will pull Attachment0 to Attachment1. Bonus: this uses new constraints, so it’s better supported by Roblox.

3 Likes

Wow… Never even heard of that. That’s awesome. Thanks!

Neither have I heard about it, this will help me greatly with my upcoming game! Thanks!