mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:53:46 +02:00
remove some cruft
This commit is contained in:
parent
0e0eaea849
commit
1c569dcf33
1 changed files with 0 additions and 9 deletions
|
@ -205,12 +205,6 @@ bool PhysicsEngine::updateEntity(CustomMotionState* motionState, uint32_t flags)
|
|||
// private
|
||||
void PhysicsEngine::updateEntityHard(btRigidBody* body, CustomMotionState* motionState, uint32_t flags) {
|
||||
MotionType newType = motionState->getMotionType();
|
||||
MotionType oldType = MOTION_TYPE_DYNAMIC;
|
||||
if (body->isStaticObject()) {
|
||||
oldType = MOTION_TYPE_STATIC;
|
||||
} else if (body->isKinematicObject()) {
|
||||
oldType = MOTION_TYPE_KINEMATIC;
|
||||
}
|
||||
|
||||
// pull body out of physics engine
|
||||
_dynamicsWorld->removeRigidBody(body);
|
||||
|
@ -308,9 +302,6 @@ void PhysicsEngine::updateEntityEasy(btRigidBody* body, CustomMotionState* motio
|
|||
}
|
||||
body->activate();
|
||||
|
||||
btVector3 v = body->getLinearVelocity();
|
||||
btVector3 g = body->getGravity();
|
||||
|
||||
// TODO: support collision groups
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue