Home
last modified time | relevance | path

Searched refs:localRotationQuat (Results 1 – 5 of 5) sorted by relevance

/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java70 Quaternion localRotationQuat = spatial.getLocalRotation(); in applyTransform() local
71 … boolean physicsLocationDirty = applyTransform(motionStateId, localLocation, localRotationQuat); in applyTransform()
81 tmp_inverseWorldRotation.mult(localRotationQuat, localRotationQuat); in applyTransform()
84 spatial.setLocalRotation(localRotationQuat); in applyTransform()
87 spatial.setLocalRotation(localRotationQuat); in applyTransform()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java56 private Quaternion localRotationQuat = new Quaternion(); field in RigidBodyMotionState
114 localRotationQuat.set(worldRotationQuat); in applyTransform()
115 …(spatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyTransform()
118 spatial.setLocalRotation(localRotationQuat); in applyTransform()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DCharacterControl.java133 Quaternion localRotationQuat = spatial.getLocalRotation(); in update() local
143 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y); in update()
144 spatial.setLocalRotation(localRotationQuat); in update()
148 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y); in update()
149 spatial.setLocalRotation(localRotationQuat); in update()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DVehicleWheel.java99 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform() local
106 localRotationQuat.set(wheelWorldRotation); in applyWheelTransform()
107 …lSpatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyWheelTransform()
110 wheelSpatial.setLocalRotation(localRotationQuat); in applyWheelTransform()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DVehicleWheel.java103 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform() local
110 localRotationQuat.set(wheelWorldRotation); in applyWheelTransform()
111 …lSpatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyWheelTransform()
114 wheelSpatial.setLocalRotation(localRotationQuat); in applyWheelTransform()