animation rotation

is there a way to use accelerometer to produce a rotation for the direction Im facing and achieve a “lean animation clip” based on the euler angle? or just get rotation and bank style turn all in one?

It would be uselessly complicated to use an animation clip. You should rotate otherwise (for instance : transform.forward = Vector3.Slerp( transform.forward, transform.position - target.position, Time.deltaTime * speed ):wink:

As for accelerometer, I don’t know anything about mobile stuff, sorry !