I know how to do rotations to vectors, but how do I rotate over time?
For instance say I made a function
RotateTo(vec2 iPosition, float iTime);
so it rotates to iPosition over iTime - how would this look? Does anyone know simple algorithm?
iPosition
iTime
No comments:
Post a Comment