About object mounting
by Liu Yi · in Torque Game Engine · 01/04/2007 (5:17 am) · 2 replies
I have a few question mounting objects
1. An object A is mounted to another object B. When i try to call
A.getTransform();
the returned tranform is always "0 0 0 1 0 0 0".
How can I get the transform of an object that is mounted on another object?
2. Can I get the Position of a node of an object?
1. An object A is mounted to another object B. When i try to call
A.getTransform();
the returned tranform is always "0 0 0 1 0 0 0".
How can I get the transform of an object that is mounted on another object?
2. Can I get the Position of a node of an object?
#2
3. Can an Item be mounted to another object, say, a vehicle? I manage to mount a staticShape object to the vehicle, but when I try to mount an item to the vehicle, the item doesn't appear. What might be the problem?
4. Can I mount an object A to an object B, which is mounted on another object C?
01/05/2007 (12:30 am)
More questions about mounting.3. Can an Item be mounted to another object, say, a vehicle? I manage to mount a staticShape object to the vehicle, but when I try to mount an item to the vehicle, the item doesn't appear. What might be the problem?
4. Can I mount an object A to an object B, which is mounted on another object C?
Torque 3D Owner Billy L
B.getmountedobject(0).getTransform();
or
B.getmountnodeobject(0).getTransform();