|
|
@ -90,9 +90,11 @@ public class CylinderCollisionShape extends CollisionShape { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setScale(Vector3f scale) { |
|
|
|
public void setScale(Vector3f scale) { |
|
|
|
Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CylinderCollisionShape cannot be scaled"); |
|
|
|
if (!scale.equals(Vector3f.UNIT_XYZ)) { |
|
|
|
|
|
|
|
Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CylinderCollisionShape cannot be scaled"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void write(JmeExporter ex) throws IOException { |
|
|
|
public void write(JmeExporter ex) throws IOException { |
|
|
|
super.write(ex); |
|
|
|
super.write(ex); |
|
|
|
OutputCapsule capsule = ex.getCapsule(this); |
|
|
|
OutputCapsule capsule = ex.getCapsule(this); |
|
|
|