Showing the changes to libraries/physics/src/CharacterController.cpp (1 of 5 files). Show all
Unified · Split
| @@ -126,10 +126,6 @@ void CharacterController::setDynamicsWorld(btDynamicsWorld* world) { · 125 unmodified lines | ||
| 126 | 126 | _ghost.setCollisionGroupAndMask(_collisionGroup, BULLET_COLLISION_MASK_MY_AVATAR & (~ _collisionGroup)); |
| 127 | 127 | _ghost.setCollisionWorld(_dynamicsWorld); |
| 128 | 128 | _ghost.setRadiusAndHalfHeight(_radius, _halfHeight); |
| 129 | − _ghost.setMaxStepHeight(0.75f * (_radius + _halfHeight)); | |
| 130 | − _ghost.setMinWallAngle(PI / 4.0f); | |
| 131 | − _ghost.setUpDirection(_currentUp); | |
| 132 | − _ghost.setMotorOnly(true); | |
| 133 | 129 | _ghost.setWorldTransform(_rigidBody->getWorldTransform()); |
| 134 | 130 | } |
| 135 | 131 | if (_dynamicsWorld) { |