Merge pull request #42592 from madmiraal/fix-42567
Initialise Bullet RigidBody friction to the expected value of 1.0
This commit is contained in:
commit
4efcb4c442
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ RigidBodyBullet::RigidBodyBullet() :
|
|||
btRigidBody::btRigidBodyConstructionInfo cInfo(mass, godotMotionState, nullptr, localInertia);
|
||||
|
||||
btBody = bulletnew(btRigidBody(cInfo));
|
||||
btBody->setFriction(1.0);
|
||||
reload_shapes();
|
||||
setupBulletCollisionObject(btBody);
|
||||
|
||||
|
|
Loading…
Reference in a new issue