is it safe to setshape after adding rigidbody to the world?
-
- Posts: 43
- Joined: Fri Jun 15, 2012 7:11 am
is it safe to setshape after adding rigidbody to the world?
i need to change the collision shape of my characters for certain state, is it safe to just setshape it? or do i have to create a new rigidbody?
- Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
- Contact:
Re: is it safe to setshape after adding rigidbody to the wor
First remove the body from the world, make the change and re-add it to the world.
Thanks,
Erwin
Thanks,
Erwin
-
- Posts: 43
- Joined: Fri Jun 15, 2012 7:11 am
Re: is it safe to setshape after adding rigidbody to the wor
so it is safe to reuse the same body as long as we readd it? understood.