com.jme3.collision
Interface Collidable

All Known Implementing Classes:
AbstractTriangle, AssetLinkNode, AudioNode, BatchNode, BitmapText, BlenderKey.LoadingResults, BoundingBox, BoundingSphere, BoundingVolume, CalculationBone, CameraNode, Geometry, LightNode, Node, ParticleEmitter, Picture, Ray, SimpleBatchNode, SkeletonDebugger, Spatial, StatsView, TerrainGrid, TerrainPatch, TerrainQuad, Triangle

public interface Collidable

Interface for Collidable objects. Classes that implement this interface are marked as collidable, meaning they support collision detection between other objects that are also collidable.


Method Summary
 int collideWith(Collidable other, CollisionResults results)
          Check collision with another Collidable.
 

Method Detail

collideWith

int collideWith(Collidable other,
                CollisionResults results)
                throws UnsupportedCollisionException
Check collision with another Collidable.

Parameters:
other - The object to check collision against
results - Will contain the list of CollisionResults.
Returns:
how many collisions were found between this and other
Throws:
UnsupportedCollisionException