Alienhead Posted Thursday at 11:30 AM Share Posted Thursday at 11:30 AM 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 Thursday at 12:40 PM Share Posted Thursday at 12:40 PM 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 Thursday at 01:35 PM Author Share Posted Thursday at 01:35 PM 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.