AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Origin of player's head? (https://forums.alliedmods.net/showthread.php?t=86982)

Sputnik53 03-05-2009 07:49

Origin of player's head?
 
How do I find the excact origin of player's head?

Arkshine 03-05-2009 07:59

Re: Origin of player's head?
 
Using EngFunc_GetBonePosition.

By default it's 8 ( you can retrieve the bone number by dumping a player model )

engfunc( EngFunc_GetBonePosition, id, 8, Origin, Angles );

Sputnik53 03-05-2009 08:21

Re: Origin of player's head?
 
Quote:

Originally Posted by arkshine (Post 774400)
Using EngFunc_GetBonePosition.

By default it's 8 ( you can retrieve the bone number by dumping a player model )

engfunc( EngFunc_GetBonePosition, id, 8, Origin, Angles );

I love you thx.


All times are GMT -4. The time now is 17:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.