diff --git a/src/main/java/cactusServer/entities/Object.java b/src/main/java/cactusServer/entities/Object.java index 6dc0fe6..722cd9f 100644 --- a/src/main/java/cactusServer/entities/Object.java +++ b/src/main/java/cactusServer/entities/Object.java @@ -6,6 +6,8 @@ import org.ntlab.radishforandroidstudio.framework.model3D.Quaternion3D; import org.ntlab.radishforandroidstudio.framework.physics.AngularVelocity3D; import org.ntlab.radishforandroidstudio.framework.physics.Velocity3D; +import org.ntlab.radishforandroidstudio.java3d.Box; +import org.ntlab.radishforandroidstudio.java3d.Primitive; import cactusServer.models.ObjectModelManager; //import framework.model3D.Position3D; @@ -20,7 +22,7 @@ private Quaternion3D angle; private Attribute attribute; private Model3D model; - private Object3D object; + private Primitive prim = new Box(); @JSONHint(ignore = true) public static final int UNIQUE_ID_LENGTH = 12; @@ -38,6 +40,7 @@ setAngle(angle); setAttribute(attribute); setModel(modelID); + Object3D object = new Object3D("",prim); setPlaceable(object); }