In game movie problem
by Pascal · in Torque Game Engine · 09/19/2003 (1:54 pm) · 0 replies
Hi,
I'm trying to modify Torque to add some simple in game movies / cutscenes. My first try at this was try to record a single object by doing a full obj->packUpdate() on the server object in GameProcess.cc -> AdvanceObjects() and then play this back by doing
a obj->unpackUpdate() each tick during playback.
This sort of works but results in very choppy movement on the client (there almost seems to be only 1/2 tick interpolation and then the object sort of jumps) For player controlled objects, recording an initial packUpdate followed by all the moves works much more smoothly, but the object ends up in a little different place (also this wouldn't work for ai controlled objects).
Anyone have any ideas on why the unpackUpdate's result in choppy playback?
-Pascal
I'm trying to modify Torque to add some simple in game movies / cutscenes. My first try at this was try to record a single object by doing a full obj->packUpdate() on the server object in GameProcess.cc -> AdvanceObjects() and then play this back by doing
a obj->unpackUpdate() each tick during playback.
This sort of works but results in very choppy movement on the client (there almost seems to be only 1/2 tick interpolation and then the object sort of jumps) For player controlled objects, recording an initial packUpdate followed by all the moves works much more smoothly, but the object ends up in a little different place (also this wouldn't work for ai controlled objects).
Anyone have any ideas on why the unpackUpdate's result in choppy playback?
-Pascal