Game Development Community

Player Weapon Mount Points.

by Rob Mackay · in Artist Corner · 04/11/2004 (1:19 pm) · 2 replies

Ok. I have the weapon mount point parent to the right biped hand... it moves fine with the hand and when i export works the weapon will follow the mount point fine...

BUT

The weapon in game is always pointing in the forward direction....

I have found if I change the pivot of the mount point it changes the directon of the weapon, but this is highly inaccurate...

Can someone please help me understand how to set it up to follow the rodation of the hand as well as the position... anything would be good, a link to a tutorial...

if you want to be really helpfull, my MSN is rob_mcfly@hotmail.com

Please, this is driving me mad. lol

About the author


#1
04/11/2004 (6:23 pm)
I'm not completely sure what you are after, but can say this: the weapon Images transform is moved and rotated to match the transform of the mountPoint. If you want the weapon held at certain angles during animations, animate the mountPoint. Better yet, rotate the mountPoint in the player model file so that it will align the weapon proerly with the players hand, then link the mountpoint to the the skeleton's hand bone. For dummies there's no need to adjust the pivot, in fact it would be better to simply rotate the mountX dummy so it's rotation is visually apparent.

I have also heard that if you specify an eyeOffset in the weapon's datablock it can do odd things with it.
#2
04/11/2004 (11:13 pm)
Hmm ok I have a better idea.

can someone point me to a mount tutorial. or even a biped setup tutorial in chara studio...

that would be great :D