I have a model (such as):
I am move this model by curve.
I want to realize slide my model by this curve.
In each step I have last position and current.
How to ROTATE my model for making the imitations of the repetition of the curvature:
Move object by curve.
for some exact results you would need yur curve to be defined by some function.
But I would simply store old position in last frame, calculate future position in next frame, than find out angle from current position to old and future one, add it together then cut it by 2 and you end up with something very close of what you need.
But I would simply store old position in last frame, calculate future position in next frame, than find out angle from current position to old and future one, add it together then cut it by 2 and you end up with something very close of what you need.