Rotate to accelerometer issue
sanderboy978
Member Posts: 1
Hi everyone,
I'm stuck on a problem, I want to rotate my actor to the accelerometer but when I run it on my device and turn it to the right very fast my actor goes jiggling to the left and right for about 1 second, almost like it's glitching out.
here is my code for the actor:
gravity:
direction: 270 relative to: scene
Acceleration: 900
Rotate to Angle
Angle: 20*game.Accelerometer.Y Relative to:scene
Speed 200 not run to completion or stops on destination
I could send a project file if needed.
I'm stuck on a problem, I want to rotate my actor to the accelerometer but when I run it on my device and turn it to the right very fast my actor goes jiggling to the left and right for about 1 second, almost like it's glitching out.
here is my code for the actor:
gravity:
direction: 270 relative to: scene
Acceleration: 900
Rotate to Angle
Angle: 20*game.Accelerometer.Y Relative to:scene
Speed 200 not run to completion or stops on destination
I could send a project file if needed.