removed unnecessary changes
This commit is contained in:
parent
3e0b838324
commit
d9f489d8dd
@ -94,6 +94,7 @@ public class PhysicsHoverControl extends PhysicsVehicle implements PhysicsContro
|
|||||||
createWheels();
|
createWheels();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Control cloneForSpatial(Spatial spatial) {
|
public Control cloneForSpatial(Spatial spatial) {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -168,7 +168,7 @@ public class TestHoveringTank extends SimpleApplication implements AnalogListene
|
|||||||
|
|
||||||
Spatial missile = assetManager.loadModel("Models/SpaceCraft/Rocket.mesh.xml");
|
Spatial missile = assetManager.loadModel("Models/SpaceCraft/Rocket.mesh.xml");
|
||||||
missile.scale(0.5f);
|
missile.scale(0.5f);
|
||||||
missile.rotate(FastMath.PI, FastMath.PI, 0);
|
missile.rotate(0, FastMath.PI, 0);
|
||||||
missile.updateGeometricState();
|
missile.updateGeometricState();
|
||||||
|
|
||||||
BoundingBox box = (BoundingBox) missile.getWorldBound();
|
BoundingBox box = (BoundingBox) missile.getWorldBound();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user