eugene.litvinov Posted December 7, 2010 Posted December 7, 2010 Crash happen when I try set mass of RigidBody: Object attachObject; // in some function BodyRigid body = attachObject.getBodyRigid(); body.setMass(20);
frustum Posted December 9, 2010 Posted December 9, 2010 You can't set mass to the rigid body directly. RigidBody has "shape based" flag, and this parameter is enabled by default. RigidBody automatically calculates own mass and inertia tensor from all assigned shapes when RigidBody is shape based. Otherwise you should set mass and inertia tensor for BodyRigid when shape based flag is disabled.
eugene.litvinov Posted December 9, 2010 Author Posted December 9, 2010 Yes, I know, I see it from message... but nevertheless, unigine is crashed (
Recommended Posts