com.bulletphysics.collision.shapes.BoxShape Java Examples
The following examples show how to use
com.bulletphysics.collision.shapes.BoxShape.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BoxCollisionShape.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 4 votes |
protected void createShape() { cShape = new BoxShape(Converter.convert(halfExtents)); cShape.setLocalScaling(Converter.convert(getScale())); cShape.setMargin(margin); }
Example #2
Source File: BoxCollisionShape.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 4 votes |
protected void createShape() { cShape = new BoxShape(Converter.convert(halfExtents)); cShape.setLocalScaling(Converter.convert(getScale())); cShape.setMargin(margin); }