- remove setScale override from Sphere and Box

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent bc62609746
commit 133d153bbb
  1. 8
      engine/src/jbullet/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java
  2. 8
      engine/src/jbullet/com/jme3/bullet/collision/shapes/SphereCollisionShape.java

@ -94,14 +94,6 @@ public class CapsuleCollisionShape extends CollisionShape{
return axis;
}
/**
* WARNING - CompoundCollisionShape scaling has no effect.
*/
@Override
public void setScale(Vector3f scale) {
Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CapsuleCollisionShape cannot be scaled");
}
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule capsule = ex.getCapsule(this);

@ -66,14 +66,6 @@ public class SphereCollisionShape extends CollisionShape {
return radius;
}
/**
* WARNING - CompoundCollisionShape scaling has no effect.
*/
@Override
public void setScale(Vector3f scale) {
Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "SphereCollisionShape cannot be scaled");
}
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule capsule = ex.getCapsule(this);

Loading…
Cancel
Save