Game Development Community

Mount Object Dynamic Offset

by Nick Matthews · in Torque Game Engine · 06/13/2007 (2:08 pm) · 1 replies

In Zelda Windwaker, when you shot a zombie or something with your bow and arrow, the arrow would actually stick in him, and move with his as he fell to the floor, or continued chasing you. I've been looking at ways to accomplish this in TGE. My first plan was to just do a mountobject on a staticshape that was created oncollision, but the issue there is that the bolt would just be mounted to a slot.

Does anyone know of a way in which objects could be mounted by specifying an offset, too? I've tried searching and the closest thing I found was a mountEquipment resource which allowed you to specify offsets, rotation and scale, but only in the datablock and not the actual object (as there wasn't one) so I was wondering if anyone else had attempted this before, and what they'd turned up?

Thanks.

#1
06/13/2007 (4:39 pm)
There was this promising resource, but I had issues with crashing on exiting that never seemed to get resolved. Plus, I don't know if anyone tried it with 1.5.X.