Merge pull request #620 from NemesisMate/patch-11
Removed the override that avoided a CompoundCollisionShape to be scaled
This commit is contained in:
commit
c3c274015f
@ -119,14 +119,6 @@ public class CompoundCollisionShape extends CollisionShape {
|
|||||||
return children;
|
return children;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* WARNING - CompoundCollisionShape scaling has no effect.
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public void setScale(Vector3f scale) {
|
|
||||||
Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CompoundCollisionShape cannot be scaled");
|
|
||||||
}
|
|
||||||
|
|
||||||
private native long createShape();
|
private native long createShape();
|
||||||
|
|
||||||
private native long addChildShape(long objectId, long childId, Vector3f location, Matrix3f rotation);
|
private native long addChildShape(long objectId, long childId, Vector3f location, Matrix3f rotation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user