When I'm using lua_run to change a prop's model using SetModel(<PATH>) the model changes accordingly to what I choose, but the hitboxes remain the same of the formal model.
Is there a way to rebuild the hitboxes and collisions?
EDIT: After a search on the wiki and some ingame trail and error I found out that after the model change you just have to call the :PhysicsInit( SOLID_VPHYSICS ) to rebuild the collision and hitboxes
Sorry, you need to Log In to post a reply to this thread.