Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I stop an unanchored part from Rotating?

Asked by 2 years ago
Edited 2 years ago

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

Log in to vote
0
Answered by
manith513 121
2 years ago

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?

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 joystuuu 7 — 2y
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. manith513 121 — 2y
Ad
Log in to vote
0
Answered by 2 years ago

Weld it. Or just… anchor it.

Answer this question