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