Game Development Community

Objects interacting

by Josh Andersen · in Torque Developer Network · 12/10/2006 (5:48 am) · 1 replies

Hi all!


firstly, i would like to know if there is any way that one might take an object in the game world and have the player's character pick it up and drop it at will. i assume there is, but i thought i'd ask anyway.

my first thought would have been making the character the parent of this object, in a chain of bones kind of way, and to also dissociate the two when the player decides that he or she no longer needs the object.

i don't think that i would want to use any sort of physics calculations to accomplish this, just allow the object to be constrained to the player's hand or something like that. it would get it's rotation and translation from the character's hand bone....am i going down the wrong road?

i would like to here ideas from anyone who has dealt with this before.

About the author

Recent Threads

  • Objects interacting

  • #1
    12/11/2006 (12:06 am)
    I think the mountObject()/unmountObject() methods (or unmount(), from the other side) will attach two objects like you want; poke around at them.

    (though I've only just started playing with the engine, so.)