Alienhead Posted November 7, 2024 Posted November 7, 2024 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 Alienhead Components and Software
Dreikblack Posted November 7, 2024 Posted November 7, 2024 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
Alienhead Posted November 7, 2024 Author Posted November 7, 2024 Awesome, had no idea that was in there. Thanks ! Quote Alienhead Components and Software
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.