MinieExamples/src/main/java/jme3utilities/minie/test/TargetDemo.java
/**
     * Register a domino shape with the specified length.
     *
     * @param length the total length (Y axis, in physics-space units, &gt;0)
     */
Register a domino shape with the specified length.

@param length the total length (Y axis, in physics-space units, >0)
Register a domino shape with the specified length . @param length the total length ( Y axis in physics - space units > 0 )
private void registerDominoShape(float length) {
        unregisterShape("domino");
        float halfLength = length / 2f;
        float halfThickness = halfLength / 5f;
        float halfWidth = halfLength / 2f;
        CollisionShape shape
                = new BoxCollisionShape(halfThickness, halfLength, halfWidth);
        registerShape("domino", shape);
    }
private void registerDominoShape ( float length ) { unregisterShape ( "domino" ) ; float halfLength = length / 2f ; float halfThickness = halfLength / 5f ; float halfWidth = halfLength / 2f ; CollisionShape shape = new BoxCollisionShape ( halfThickness , halfLength , halfWidth ) ; registerShape ( "domino" , shape ) ; }
Register a domino shape with the specified length.
Register a domino shape with the specified length .