LucasForums (
-   JA Coding (
-   -   Force grip hand position... (

phasmatis6 05-31-2007 12:25 AM

Force grip hand position...
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? :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 01:03 AM.

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