LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   JA Coding (http://www.lucasforums.com/forumdisplay.php?f=539)
-   -   Force grip hand position... (http://www.lucasforums.com/showthread.php?t=178925)

phasmatis6 05-31-2007 12:25 AM

Force grip hand position...
 
So when I do something like this:

Code:

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? :blast5:

razorace 05-31-2007 02:14 PM

Look in the saber update position stuff in w_saber.c to see how it tracks the position of the saber blade.

phasmatis6 05-31-2007 11:13 PM

w_saber.c being the second largest source file in the game directory, I'm lost.

Uh... anything more specific..?

razorace 05-31-2007 11:34 PM

sorry, I don't have the code in front of me but it's the function with the CheckSaberDamage function calls.


All times are GMT -4. The time now is 06:42 AM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.