AttachEntityObject weird things...
Posted: Fri Feb 07, 2025 3:04 pm
Hi, I have an animated entity with bones, when I connect another object to the entity without defining the bone everything goes well. But when I specify the bone, the object disappears. I have tried other bones and the same result.
If I disconnect the object it appears where it should be, but when I reconnect it disappears again.
What can it be?
AttachEntityObject(prota, "", EntityID(1)); This work fine.
AttachEntityObject(prota, "head", EntityID(1)); no work or object is invisible??.
Coordinates are right because when unlink the object is in the right position.
I was looking the examples an work fine but with my animated object no work.
Sorry ,the code is long to put here.
Objects modeled and texturized by me, with normalmap look better

If I disconnect the object it appears where it should be, but when I reconnect it disappears again.
What can it be?
AttachEntityObject(prota, "", EntityID(1)); This work fine.
AttachEntityObject(prota, "head", EntityID(1)); no work or object is invisible??.

Coordinates are right because when unlink the object is in the right position.
I was looking the examples an work fine but with my animated object no work.
Sorry ,the code is long to put here.
Objects modeled and texturized by me, with normalmap look better

