client's head origin
does anyone know the z-axis offset for a standard player model's head?
|
Re: client's head origin
My guess:
Code:
However, this is only an estimate, and not an exact answer. |
Re: client's head origin
theres a file on XJ somewhere which tells u the units of a player model
I dont have it on this computer but ill search for it 2moro if u still need it Sleepy time for me now :) |
Re: client's head origin
Code:
engfunc(EngFunc_GetBonePosition, target, bone, origin, angles)So I would assume: Code:
new Float:HeadOrigin[3], Float:HeadAngles[3];Code:
new Float:origin[3]; |
Re: client's head origin
Looks like I am finally going to learn fakemeta.
Thank you Emp`, in return old song http://gprime.net/flash.php/youareapirate |
Re: client's head origin
If you just wanna know how high the model extends above the origin, it's 32 units. If you want their view origin...
PHP Code:
|
Re: client's head origin
Quote:
|
Re: client's head origin
Those info about bone? You can find them by opening a model in HLMV(Half-Life Model Viewer) the go to Options -> Dump Model Info.
|
Re: client's head origin
Not just bone info, but also the format on the function, i tried funcwiki and the inc files.
The funcwiki for fakemeta isn't like any other module so I am having a hard time learning. what version of hlmv do you have? the one i have does not have the model info. |
Re: client's head origin
Jed's v1.35.
What function...? EngFunc_GetBonePosition ? -> http://www.amxmodx.org/funcwiki.php?go=module&id=16 .There you have all funcs with params. |
| All times are GMT -4. The time now is 03:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.