public void setScale(Vector3f scale) {
   this.scale.set(scale);
   cShape.setLocalScaling(Converter.convert(scale));
 }
Esempio n. 2
0
 protected void createShape() {
   cShape = new BoxShape(Converter.convert(halfExtents));
   cShape.setLocalScaling(Converter.convert(getScale()));
   cShape.setMargin(margin);
 }