Game Development Community

mounting of dynamic object

by Gerard Neo · in Torque Game Engine · 03/03/2003 (9:02 pm) · 1 replies

Does anyone here know how to mount a dynamic object onto another dynamic object?
what scripts files or .cc; .h files must be added?

#1
11/23/2009 (2:29 am)
taken from documentation...

(t2dSceneObject, [offsetX / offsetY], [mountForce], [trackRotation?], [sendToMount?], [ownedByMount?] , [inheritAttributes?])
linkIndex = %obj.mount(%parentObj, "0 1", 0, true, true, true, true);


E.g:
$objToMount.mount($baseObj, "0.000, 0.000", 0, true, true, true, true);

so ur mounting $objToMount on $baseObj...