| 155 | } |
| 156 | |
| 157 | void Physics3DComponent::postSimulate() |
| 158 | { |
| 159 | if (((int)_syncFlag & (int)Physics3DComponent::PhysicsSyncFlag::PHYSICS_TO_NODE) && _physics3DObj && _owner) |
| 160 | { |
| 161 | syncPhysicsToNode(); |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void Physics3DComponent::setTransformInPhysics(const ax::Vec3& translateInPhysics, |
| 166 | const ax::Quaternion& rotInPhsyics) |