phasmatis6 Posted May 31, 2007 Share 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? Link to comment Share on other sites More sharing options...
razorace Posted May 31, 2007 Share 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. Link to comment Share on other sites More sharing options...
phasmatis6 Posted June 1, 2007 Author Share Posted June 1, 2007 w_saber.c being the second largest source file in the game directory, I'm lost. Uh... anything more specific..? Link to comment Share on other sites More sharing options...
razorace Posted June 1, 2007 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.