Game Development Community

Sticky projectile?

by Justin Morris · in Torque Game Engine · 12/14/2004 (1:07 am) · 2 replies

I have a projectile with an arming delay of 7 seconds... at first i wanted it to explode when it hits a player but then i had the idea of it just mounting itself to the player until it arms/explodes... but it wont mount with:

%col.mountObject(%obj, 0);

in its collision code... am i doing it wrong? is it possible? if its not readily possible without alow of work, how can i get it to explode instead of bouncing off if its not armed yet?

#1
12/14/2004 (1:15 am)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5954

may be something you may want to look into
#2
12/14/2004 (2:38 pm)
Sweet that works like a charm! for future referance.... is it possible to snap/mount a projectile onto a player until it explodes?