ashwin.sudhir Posted June 23, 2011 Share Posted June 23, 2011 Our scenario is that we need to use intersection tests with Body Shapes like Object obj = engine.physics.getIntersection(p0, p1, ~0, ret); But would not want the bodies to be physically simulated. Based on Frustum's advice on another thread, one way of doing this would be to set the mass to zero and this works well for us. My question is - is this efficient? i.e. will the Physics Engine early-out when it finds a body with zero mass? Or is there a better way of doing this than setting the Mass to Zero? Thanks, Ashwin. Link to comment
frustum Posted June 24, 2011 Share Posted June 24, 2011 BodyDummy is much better way. Link to comment
ashwin.sudhir Posted June 24, 2011 Author Share Posted June 24, 2011 BodyDummy is much better way. Thanks, will use BodyDummy. Link to comment
Recommended Posts