Problem Mounting Object
by Michael Rogers · in Torque Game Engine · 02/25/2007 (6:21 pm) · 1 replies
Hi, All:
I'm having a problem mounting an object to a player -- the Ava model, made by Spencer Boomhower, and available in the Torque store.
Ava appears to have mount0 and mount1 -- at least I see those showing up in TST Pro. Also, the object that I want to mount -- a bucket that Spencer made for me -- has a node called mountPoint.
I can do this:
ava. mountObject(2050,0); // 2050 is the id of the bucket
and then
echo(ava.getMountedObject(0));
displays 2050.
But when I move around with Ava, the bucket -- a ShapeBase -- doesn't move.
Any ideas?
Thanks,
Michael Rogers
I'm having a problem mounting an object to a player -- the Ava model, made by Spencer Boomhower, and available in the Torque store.
Ava appears to have mount0 and mount1 -- at least I see those showing up in TST Pro. Also, the object that I want to mount -- a bucket that Spencer made for me -- has a node called mountPoint.
I can do this:
ava. mountObject(2050,0); // 2050 is the id of the bucket
and then
echo(ava.getMountedObject(0));
displays 2050.
But when I move around with Ava, the bucket -- a ShapeBase -- doesn't move.
Any ideas?
Thanks,
Michael Rogers
Torque Owner Robert Seeman
I believe that by default, if the mountPoint for an object is not defined it will simply mount on the root node of the mesh.