Example usage for com.badlogic.gdx.physics.box2d RayCastCallback interface-usage

List of usage examples for com.badlogic.gdx.physics.box2d RayCastCallback interface-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.physics.box2d RayCastCallback interface-usage.

Usage

From source file com.agateau.pixelwheels.utils.ClosestBodyFinder.java

/**
 * An helper class to find the closest body using a raycast
 *
 * World is not passed to the constructor to make it easier for the class to be used in a poolable object
 */
public class ClosestBodyFinder implements RayCastCallback {

From source file com.hatstick.fireman.physics.Box2DPhysicsWorld.java

/** Base class for all Box2D Testbed tests, all subclasses must implement the createWorld() method.
 * 
 * @author badlogicgames@gmail.com */
public class Box2DPhysicsWorld implements RayCastCallback {

    /** The Explosion Engine **/

From source file releasethekraken.physics.RayCastCallbackCollider.java

/**
 * Used for a Box2D ray cast to determine if the raycast collided with a fixture,
 * based on the specified collision bits.
 * @author Dalton
 */
public class RayCastCallbackCollider implements RayCastCallback {