Night Elf
06-09-2007 16:55:19
I need to synchronise some special effects (for example, explosions or the effect of a gun shooting) with the physics simulation. The problem is that these non-physical objects seem to be one frame behind the rest. For example, if a character's shooting and moving sideways, the effect on the weapon appears in its previous position.
I think the problem is that I get the current position/orientation of the actor before it is transformed by the simulation. How can I make sure to get the actual transformation so that everything is synchronised?
I think the problem is that I get the current position/orientation of the actor before it is transformed by the simulation. How can I make sure to get the actual transformation so that everything is synchronised?