Entity following attachment rather than another entity
To make a hat stick to the player's head I'm using MOVETYPE_FOLLOW, which kind of works now, but not for what I'm going to do.
I've added a set of additional animations to the player's model, which don't change the player's origin (such as dancing; the model moves a few inches forward but the actual hitbox remains on the same spot). The question is - is there a way to attach the hat entity directly to the bone, which is: Quote:
Creating a beam allows to select an attachment it will stick to in the message, but I haven't found a way to do this with an entity. https://forums.alliedmods.net/archiv...p/t-59595.html Thanks in advance. |
Re: Entity following attachment rather than another entity
I tried EngFunc_GetBonePosition but it doesn't work with animations
it just gets the bone position for frame 0 Does it work for u? |
Re: Entity following attachment rather than another entity
I haven't tried it yet, but if it doesn't work then there's probably no way to do it
|
| All times are GMT -4. The time now is 23:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.