Searched refs:wheelSpatial (Results 1 – 2 of 2) sorted by relevance
65 protected Spatial wheelSpatial; field in VehicleWheel76 wheelSpatial = spat; in VehicleWheel()96 if (wheelSpatial == null) { in applyWheelTransform()99 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform()100 Vector3f localLocation = wheelSpatial.getLocalTranslation(); in applyWheelTransform()101 if (!applyLocal && wheelSpatial.getParent() != null) { in applyWheelTransform()102 …localLocation.set(wheelWorldLocation).subtractLocal(wheelSpatial.getParent().getWorldTranslation()… in applyWheelTransform()103 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()104 …tmp_inverseWorldRotation.set(wheelSpatial.getParent().getWorldRotation()).inverseLocal().multLocal… in applyWheelTransform()107 …tmp_inverseWorldRotation.set(wheelSpatial.getParent().getWorldRotation()).inverseLocal().mult(loca… in applyWheelTransform()[all …]
65 protected Spatial wheelSpatial; field in VehicleWheel76 wheelSpatial = spat; in VehicleWheel()100 if (wheelSpatial == null) { in applyWheelTransform()103 Quaternion localRotationQuat = wheelSpatial.getLocalRotation(); in applyWheelTransform()104 Vector3f localLocation = wheelSpatial.getLocalTranslation(); in applyWheelTransform()105 if (!applyLocal && wheelSpatial.getParent() != null) { in applyWheelTransform()106 …localLocation.set(wheelWorldLocation).subtractLocal(wheelSpatial.getParent().getWorldTranslation()… in applyWheelTransform()107 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()108 …tmp_inverseWorldRotation.set(wheelSpatial.getParent().getWorldRotation()).inverseLocal().multLocal… in applyWheelTransform()111 …tmp_inverseWorldRotation.set(wheelSpatial.getParent().getWorldRotation()).inverseLocal().mult(loca… in applyWheelTransform()[all …]