I have objects that have 6 degrees of freedom. Give a start position, a time the object was at the position, a vector describing it's current translational movement and 3 angles describing it's rotation in degrees per second, what is the best way to calculate it's position in say 3256 milliseconds?
All the time there is only a few tens of ms then an approximation is ok, I did this by creating a matrix3f from the eular angles and multiplying the original location's rotation matrix with that one. Then I took the translation vector, scaled it so that it was 1/100 of the lenth for a 10ms movement, multiplied it by the new rotation matrix and added it to the original translation.
This is fine for small increments, but I am now potentially having to catch up by maybe as much as a few seconds, and this shows up the difference badly.
I have thought about just doing the calculation a few hundred times in 10ms increments to catch up, but I figure there must be some horendously complicated mathmatical way of doing it properly
I've had a quick hunt around on google and not found anything that I can relate to the problem.
Anyone have any ideas how to do this properly, not just bodge it?