Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I stop an unanchored part from Rotating?

I have 2 parts using bodyvelocity to move, and they are supposed to collide with eachother, but I dont want them to start rotating and spinning.

how would I go about this?

2 answers

Use a script that sets the orientation of the part to (0,0,0) at all times so the velocity should apply but keep the orientation the same. I believe this should work?

2 comments

0

isnt there a better way to lock orientation though. I've read something about align orientation but I dont know how to use it

0

There is, but it would require extra setup like adding attatchments to two different parts and then changing the settings a bit. What I said is the more direct and easier approach, but If you want to do it the other way, use this https://create.roblox.com/docs/reference/engine/classes/AlignOrientation it explains it pretty well.

This discussion is preserved as it was. New answers, comments, and votes are closed.