isSensor property and performance

Does applying isSensor = true to physics bodies has any impact on app performance?
I have bodies which disappear on collision so I don’t care about passing bodies through each other.

I just want to know if setting a body as a sensor speeds up the physics…

Thanks

Hello,

I’m not sure what you mean by “speeding up”. As long as a body exists in the physics world, it will continue to be regarded by the physics engine to some degree. The degree might vary slightly if you use collision filters or outright make the body inactive or put it to sleep, but as a general rule, if you’re outright done using physics objects, you should remove them from the physics simulation.

Brent

OK.

Thanks for the explanation.

Hello,

I’m not sure what you mean by “speeding up”. As long as a body exists in the physics world, it will continue to be regarded by the physics engine to some degree. The degree might vary slightly if you use collision filters or outright make the body inactive or put it to sleep, but as a general rule, if you’re outright done using physics objects, you should remove them from the physics simulation.

Brent

OK.

Thanks for the explanation.