phasmatis6 Posted May 31, 2007 Posted May 31, 2007 So when I do something like this: self->client->ps.forceHandExtend = HANDEXTEND_FORCE_HOLD; self->client->ps.forceHandExtendTime = level.time + 5000; ...and I want to fire a missile from the player's extended hand, how would I get the vec3_t position of the player's hand?
razorace Posted May 31, 2007 Posted May 31, 2007 Look in the saber update position stuff in w_saber.c to see how it tracks the position of the saber blade.
phasmatis6 Posted June 1, 2007 Author Posted June 1, 2007 w_saber.c being the second largest source file in the game directory, I'm lost. Uh... anything more specific..?
razorace Posted June 1, 2007 Posted June 1, 2007 sorry, I don't have the code in front of me but it's the function with the CheckSaberDamage function calls.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.