Package com.jme3.collision
Interface Collidable
- All Known Implementing Classes:
AbstractTriangle,ArmatureDebugger,ArmatureNode,AssetLinkNode,AudioNode,BatchNode,BitmapText,BoundingBox,BoundingSphere,BoundingVolume,CameraNode,Geometry,GeometryGroupNode,InstancedGeometry,InstancedNode,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
Modifier and TypeMethodDescriptionintcollideWith(Collidable other, CollisionResults results) Check collision with another Collidable.
-
Method Details
-
collideWith
Check collision with another Collidable.- Parameters:
other- The object to check collision againstresults- Will contain the list ofCollisionResults.- Returns:
- how many collisions were found between this and other
- Throws:
UnsupportedCollisionException
-