Ignore:
Timestamp:
Jul 9, 2012, 3:12:57 PM (8 years ago)
Author:
touky
Message:

BtPhysTest : Container box now moves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Physics/EasyPhysics.cpp

    r1607 r1613  
    112112                {
    113113                        m_rigid_body->setWorldTransform(btTransform(LOL2BT_QUAT(base_rotation), LOL2BT_VEC3(base_location)));
    114                         m_motion_state->setWorldTransform(m_rigid_body->getWorldTransform());
     114                        m_motion_state->setWorldTransform(btTransform(LOL2BT_QUAT(base_rotation), LOL2BT_VEC3(base_location)));
    115115                }
    116116        }
Note: See TracChangeset for help on using the changeset viewer.