Path animation

Started by Alexey, September 05, 2011, 10:49:41 AM

Previous topic - Next topic

Alexey

Hello all, i need to do something like path animation, move the object along the path. yet what I think to place a dummies in the world and use them as intermediate points, but this is somewhat time-consuming. Maybe have a better idea?

EgonOlsen

For benchmark runs, i use to store the path in small time deltas (20ms or something) as a Matrix/SimpleVector tuple for orientation/position. I'm not sure if this applies to your problem.

Alexey

сan you explain more specifically?

EgonOlsen

Not much to explain...i create the path by walking through the level and each 20ms, i record the current position and orientation. The resulting arrays of positions and rotation matrices are then written to disc. To run the benchmark, i read this data back in and set orientation and position based on the current time elapsed...that's all.

Alexey

I understand. I was not clear how the movement was specified. Manually move do not quite fit for me, but thanks anyway!

Alexey

I solve mi issue :)  - i created needed path, convert it to mesh, export to collada .dae, from result file copy vertices's array and translation vector & parse it with adding translation  vector to array of SimpleVector