1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 19:53:53 +00:00
This commit is contained in:
Jason Hooks 2012-06-20 13:14:27 -04:00
parent 86d8a07fc7
commit 5c51674070

View file

@ -213,8 +213,6 @@ namespace MWWorld
if(it->first == "player"){
coord = playerphysics->ps.origin;
//playerphysics->ps.speed = 480.0f;
//std::cout << "Position" << coord << "\n";
}
@ -302,7 +300,6 @@ namespace MWWorld
void PhysicsSystem::scaleObject (const std::string& handle, float scale)
{
/*
if(handleToMesh.find(handle) != handleToMesh.end())
{
btTransform transform = mEngine->getRigidBody(handle)->getWorldTransform();
@ -311,7 +308,7 @@ namespace MWWorld
Ogre::Quaternion quat = Ogre::Quaternion(transform.getRotation().getW(), transform.getRotation().getX(), transform.getRotation().getY(), transform.getRotation().getZ());
Ogre::Vector3 vec = Ogre::Vector3(transform.getOrigin().getX(), transform.getOrigin().getY(), transform.getOrigin().getZ());
addObject(handle, handleToMesh[handle], quat, scale, vec);
}*/
}
}
bool PhysicsSystem::toggleCollisionMode()