[Solved] Change Collision Mask require re-add Constraint?

Post Reply
hyyou
Posts: 96
Joined: Wed Mar 16, 2016 10:11 am

[Solved] Change Collision Mask require re-add Constraint?

Post by hyyou »

A system has 2 rigidbodys r1 and r2, and a constraint c1 binding r1 and r2 together.

It is known that to change collision mask of r1 --> r1 have to be removed and re-add again.

In this case, does constraint c1 required to be removed / re-add too?

There is a topic on this already, but it is too old (2011). http://bulletphysics.org/Bullet/phpBB3/ ... php?t=7538

Edit1 : mark as Solved, by the answer from kermado
Last edited by hyyou on Wed Mar 30, 2016 3:16 am, edited 1 time in total.
kermado
Posts: 20
Joined: Tue Jan 12, 2016 11:20 am

Re: Does change Collision Mask require remove/re-add Constra

Post by kermado »

I'm fairly sure that you don't. Well, at least I haven't needed to in my test cases.
hyyou
Posts: 96
Joined: Wed Mar 16, 2016 10:11 am

Re: Does change Collision Mask require remove/re-add Constra

Post by hyyou »

kermado, thank you very much for confirmation!
Post Reply