com.jme3.collision
インタフェース Collidable

既知の実装クラスの一覧:
AbstractTriangle, AssetLinkNode, AudioNode, BitmapText, BoundingBox, BoundingSphere, BoundingVolume, CameraNode, Geometry, LightNode, Node, ParticleEmitter, Picture, Ray, 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.


メソッドの概要
 int collideWith(Collidable other, CollisionResults results)
          Check collision with another Collidable.
 

メソッドの詳細

collideWith

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

パラメータ:
other - The object to check collision against
results - Will contain the list of CollisionResults.
戻り値:
how many collisions were found between this and other
例外:
UnsupportedCollisionException