How to Calculate Body Gyro

I have an Issue. I’m quite new to body movers and I was testing out a rocket launcher that I made and the problem is that each rocket is moving correctly but it is spinning out of control.

Here’s the script:

I was thinking that I should use a BodyGyro but I’m not sure how make the calculations

Thx For The Help!

With BodyGyros you tell it which CFrame to become and it will attempt to become that CFrame’s rotation through physics, from what I understand. If you want the rocket to come out at the same CFrame rotation of your weapon’s handle, then you would have to get that CFrame and set the gyro.CFrame equal to it.

Alternatively you could get the CFrame of the player’s HumanoidRootPart

Thank you! I’ve been trying to figure out how to calculate it for a while(I’m new to bodymovers). Its working perfectly now!

1 Like

You’re welcome :slight_smile: that’s great to hear. Good luck