To explain what I mean let's say I have an object that is moving and I know its speed and direction (angle). I can get the X and Y components of speed using speed*cos(angle)
and speed*sin(angle)
.
Is this possible with rotation?
I have a sphere that is rolling. Each 2*PI*R
that it moves forwards, it rotates 2*PI
, obviously. The general formula is angle = distance/R
.
If it's rolling along the X axis (for example, from point (0,0) to (x,0)) I know it rotates angle
along the Y axis.
But what if it's rolling along the (1,1) vector? That's a 45º degree angle but doing rot_x = cos(45) * angle
and rot_y = sin(45) * angle
doesn't work, does it? Is it possible to get each rotations component to know how the sphere should be rotating?