Alienhead Posted November 7 Share Posted November 7 We have Entity::Attach to parent an entity to a bone, but in cases of weapons, say I want to swap out weapons - how do I detach an entity attach to a bone? I see no Entity::Detach() or equivalent. I do not wish to simple destroy the attached entity but rather drop it back upon the terrain. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Dreikblack Posted November 7 Share Posted November 7 1 hour ago, Alienhead said: I see no Entity::Detach() But it does exist Docs does not have it tho You can add "hat:Detach()" to test https://www.ultraengine.com/learn/Entity_Attach?lang=lua 1 Quote Link to comment Share on other sites More sharing options...
Alienhead Posted November 7 Author Share Posted November 7 Awesome, had no idea that was in there. Thanks ! Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.