Searched refs:localRotationQuat (Results 1 – 5 of 5) sorted by relevance
70 Quaternion localRotationQuat = spatial.getLocalRotation(); in applyTransform() local71 … 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()
56 private Quaternion localRotationQuat = new Quaternion(); field in RigidBodyMotionState114 localRotationQuat.set(worldRotationQuat); in applyTransform()115 …(spatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyTransform()118 spatial.setLocalRotation(localRotationQuat); in applyTransform()
133 Quaternion localRotationQuat = spatial.getLocalRotation(); in update() local143 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()
99 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform() local106 localRotationQuat.set(wheelWorldRotation); in applyWheelTransform()107 …lSpatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyWheelTransform()110 wheelSpatial.setLocalRotation(localRotationQuat); in applyWheelTransform()
103 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform() local110 localRotationQuat.set(wheelWorldRotation); in applyWheelTransform()111 …lSpatial.getParent().getWorldRotation()).inverseLocal().mult(localRotationQuat, localRotationQuat); in applyWheelTransform()114 wheelSpatial.setLocalRotation(localRotationQuat); in applyWheelTransform()