Describe the bug:
If you move the player with SetMoveOverride, the character will always face the direction they are moving.
If you set a grip type, the user will face the direction they were facing when the movement override began, often stuttering.
How do you cause this bug?
Write a script that does something like
self:Schedule(function() self:GetEntity():SetMovementOverride(Vector2D.Zero, Vector2D.New(1, 0)) Wait(3) self:GetEntity():GetPlayer():SetGrip(self.properties.grip) self:GetEntity():SetMovementOverride(Vector2D.Zero, Vector2D.New(-1, 0)) end)
The player will walk in 1 direction, facing the direction they are walking. When the grip is set, the character will snap to the position of the camera, then follow the movement override.
The video below enters a trigger that walks the player forward a bit, sets the cuff grip, then moves them back. You can see after the cuff grip is set, the player’s rotation is scuffed.
Screenshots / video of bug: https://stadia.google.com/capture/6ba7df86-1541-47ec-b26f-95a47aff20f8
Which platform: PC / Stadia
Which input: Controller / keyboard + mouse
Your Crayta username: Cereal
Game seen in (including “Hub” or “Editor for XYZ”): Editor
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time
Time + date seen: August 6th 2021
Version number (found in Help tab in Settings): 0.7.587.1065314