Game Development Community

Mount confusion

by Bucko · in Torque Game Builder · 03/20/2005 (12:59 pm) · 2 replies

I have two objects $player and $playerWings, both are fxAnimatedSprite2D.
I mount $playerWings and turn everything on $player.mount($playerWings,"0 0",0,true,true,true,true);
I though mounting with inheritance would have $playerWings inherit velocity, flip etc from $player but it seems to be the other way around ie if I give $playerWings some velocity, both will move, if I give $player nothing will move and if I give both the same velocity both will move.
Are we to think of $player.mount($playerWings,"0 0",0,true,true,true,true); as telling T2D we want the $player to 'mount' the $playerWings ie to ride it, inheriting its speed etc?

#1
03/20/2005 (2:21 pm)
Yes, you are mounting $player to $playerWings.
$playerWings.mount($player, etc... ); would be mounting $playerWings to $player.
#2
03/21/2005 (12:59 am)
Silly me.