Why is this happening?

https://www.youtube.com/watch?v=53gSP1WwpuI - a computer
https://www.youtube.com/watch?v=WCE6rj4zwQ0 - mobile
image


When you log in from your computer, everything is fine, but when you log in from your phone, this happens (shown in video 2). I’m asking for help! Sorry for the poor quality!

It’s strange that this issue only happens on one device, but it could potentially occur on both.

To prevent the flipping, you can create an AlignOrientation constraint, set RotVelocity or AssemblyAngularVelocity to (0,0,0), or continuously reset its orientation to a static value.

In your case, I recommend using AlignOrientation.

1 Like

If you walk on the edge on your computer I bet the same would happen.

If there is nothing holding the rotation of the platform it makes sense it would rotate. You can add this code to solve your problem:

local part = script.Parent

local gyro = Instance.new("BodyGyro")
gyro.CFrame = part.CFrame
gyro.MaxTorque = math.huge
gyro.Parent = script.Parent

An align orientation would also work like alonefact suggested. (AlignOrientations are also recommended over the older BodyGyro Instance, but they’re a pain to set up in code and I’m lazy :wink:).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.