How to get model attachment origin on a specific frame?
I don't know if its possible to achieve this, but as far as i know EngFunc_GetAttachment only gets the origin and angles for the attachment on the first frame.
|
Re: How to get model attachment origin on a specific frame?
Looking at EngFunc_GetAttachment code, I believe it takes pev_frame into account. So if you want to get the attachment position on a frame other than what the entity's current frame is, just set pev_frame temporarily then revert it I guess.
|
Re: How to get model attachment origin on a specific frame?
it Works, but i found something strange rgflAngles in GetAttachment as well as in GetBonePosition is not retrieved, why so ?
and also the origin of attachment is always retrieved with respect to the angles 0.0 0.0 0.0. |
Re: How to get model attachment origin on a specific frame?
Solution:
PHP Code:
|
Re: How to get model attachment origin on a specific frame?
Quote:
PHP Code:
|
All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.