Missing getHeight present on jbullet

Well, I found that I'm using this on my code with jbullet but is not present on bullet version so here it is.
This commit is contained in:
NemesisMate 2016-03-11 18:11:33 +00:00
parent 3245c9ac89
commit 5c1d442b00

View File

@ -71,6 +71,10 @@ public class ConeCollisionShape extends CollisionShape {
return radius; return radius;
} }
public float getHeight() {
return height;
}
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);