You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the simulation of the Door, I need the bolt to be slippery, and the only way to set the friction (I think) is by casting to the physics engine specific classes and setting the friction parameter manually. For example:
BulletPhysicsEngine bulletPhysicsEngine = (BulletPhysicsEngine) simulationSession.getPhysicsEngine();
bulletRobot = bulletPhysicsEngine.getBulletRobots().get(0);
// The bolt should be slippery
BulletMultiBodyLinkCollider boltLinkCollider = bulletRobot.getBulletMultiBodyRobot().getBulletMultiBodyLinkCollider(3);
boltLinkCollider.setFriction(0.001);
The text was updated successfully, but these errors were encountered:
For the simulation of the Door, I need the bolt to be slippery, and the only way to set the friction (I think) is by casting to the physics engine specific classes and setting the friction parameter manually. For example:
The text was updated successfully, but these errors were encountered: