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

phasmatis6 05-31-2007 01: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 03: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 06-01-2007 12:13 AM

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

Uh... anything more specific..?

razorace 06-01-2007 12:34 AM

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 12:27 PM.

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