[ODE] SetTransform-like ?
parisy@labri.fr
parisy at labri.fr
Fri Jun 20 06:45:02 2003
Selon r0dy@r0dy.net:
> Hi
>
> In many 3d or physics systems you can do something like
> myobject.SetTransform(matrix) with matrix being a 4*4 matrix...
> I don't find any equivalent in ODE, is it normal ?
You can setup your objects at startup using dSetBodyPosition and
dSetBodyPosition, or something similar. And a "transform" object
seems to exist (I don't use it).
But keep in mind that, once your simulation started, you shouldn't
try to modify positions/rotations manually; this will break the
simulation process (especially wrt joints constraints, if I
understand it properly).
Regards,
Olivier.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/