Lines Matching defs:spatial
47 import com.jme3.scene.Spatial;
57 protected Spatial spatial;
97 public Control cloneForSpatial(Spatial spatial) {
101 public void setSpatial(Spatial spatial) {
102 this.spatial = spatial;
103 setUserObject(spatial);
104 if (spatial == null) {
107 setPhysicsLocation(spatial.getWorldTranslation());
108 setPhysicsRotation(spatial.getWorldRotation().toRotationMatrix());
173 if (enabled && spatial != null) {
174 getMotionState().applyTransform(spatial);
214 oc.write(spatial, "spatial", null);
222 spatial = (Spatial) ic.readSavable("spatial", null);