Previous Up Next

M3movObj
Displaces an object by a certain vector (in integers) within the object’s space.
For a camera, the sight axis is z, the horizontal axis is x and the vertical axis is y.

I M3movObj (
S3d _session_
H3d _object_
[I I I] _translation_
)
Parameters

_session_
3D Session
_object_
3D object
_translation_
Translation vector
Warning : a coordinate set to nil in this vector is understood as the value -1
Return value

0 if successful, otherwise nil