How can I make a BodyPosition not make the part spin?

Ok so, im making a pick up system but for some reason when I pick up the part it spins. I added a body gyro thinking this will solve the issue but no, only makes it so it spins only on the x axis. Why am I using BodyPositions and not CFrame? because BodyPositions make it look a lot more smooth. If you have the answer for me that would be appreciated.

function createMovers()
	local posMover = Instance.new("BodyPosition", heldObject)
	posMover.MaxForce = Vector3.new(40000, 40000, 40000)
	posMover.Name = "MoverPos"

	local gyroMover = Instance.new("BodyGyro", heldObject)
	gyroMover.Name = "MoverGyro"
end

createMovers()

You have to set the X,Y and Z axis forces on the BodyGyro to keep it from moving in each direction.

1 Like

You actually did the right thing by adding a Gyro, now you just have to set the Gyro’s max torque to be 40000 on all axis, (by default it’ll be 40000 on only X & Y axis)

1 Like

Okay so, I have done that and it works, but the problem I have now is I cant rotate it with CFrame is there a way im able to rotate the part as well?

you can simply adjust the bodyGyro’s CFrame, that would have the same effect as rotating the part to look somewhere else.
(Yes, the bodygyro has a cframe)

1 Like

OMG LOL, your a life saver, plus it has a smooth rotation. Thanks a lot!

1 Like