# How do I remake this rotation behaviour to Android/iOS? [closed]

void Update()
{
movement = Input.GetAxisRaw("Horizontal");
}

private void LoackedUpdate()
{
transform.RotateAround(
Vector3.zero,
Vector3.forward,
movement * Time.fixedDeltaTime * -moveSpeed
);
}

• What do you need to remake, what should it do, what have you done, what is not working, what is the error? – Zibelas May 3 at 8:29
• There's no Unity message called LoackedUpdate(). Did you mean to write FixedUpdate() here? Is your question about how to replace Input.GetAxisRae("Horizontal") (which reads keys/joystick input) with some kind of on-screen control or tilt control using the phone's IMU? Please edit your question to include details about what kind of input you want the player to use on mobile, then we can help you implement that input method. – DMGregory May 3 at 11:30
• I did with another method but thx – V's gamedev May 4 at 12:38