Moving parts with BodyVelocity, BodyAngularVelocity

An issue I am having with the BodyVelocity is that when I change the angle of the part with AngularVelocity, the BodyVelocity remains to move up with the workspace’s axis, what I want is the BodyVelocity to move up with the part’s axis.

Help would be greatly needed.

1 Like

try using a vector force on the part to apply force in relation to the parts orientation

-- this will make it fly up with a force relative to the part
BodyVelocity.Velocity = Part.CFrame:Inverse():VectorToObjectSpace(Vector3.new(0, 1, 0))
1 Like

Well that should work but here is an alternative alternative which should achieves the same thing:

-- this will make it fly up with a force relative to the part
BodyVelocity.Velocity = Part.CFrame.UpVector

Or you can use an attachment worldCFrame, UpVector to control it further if the part orientated weirdly.

you could just use body thrust or vector force instead of looping to get UpVector

How can I make it move with body thrust without any forces acting against it, with BodyVelocity it appeared anchored and that no forces against it?

oh sorry I misunderstood, I did not realize what u were using body velocity