forked from teamnwah/openmw-tes3coop
collision shape scale fix
This commit is contained in:
parent
3c5f8a4a23
commit
ba0365a427
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ namespace MWWorld
|
|||
void PhysicsSystem::addObject (const std::string& handle, const std::string& mesh,
|
||||
const Ogre::Quaternion& rotation, float scale, const Ogre::Vector3& position)
|
||||
{
|
||||
OEngine::Physic::RigidBody* body = mEngine->createRigidBody(mesh,handle);
|
||||
OEngine::Physic::RigidBody* body = mEngine->createRigidBody(mesh,handle,scale);
|
||||
mEngine->addRigidBody(body);
|
||||
btTransform tr;
|
||||
tr.setOrigin(btVector3(position.x,position.y,position.z));
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 21b8456453242e132c85f92047cf9bce535c1b22
|
||||
Subproject commit 5aabf22c16dab6a2230845f90fe5fdf67eeeca32
|
Loading…
Reference in a new issue