Package com.jme3.collision
Interface Collidable
- All Known Implementing Classes:
AbstractTriangle,ActionButton,ArmatureDebugger,ArmatureNode,AssetLinkNode,AudioNode,AuthSelectionWindow,BatchNode,BitmapText,BoundingBox,BoundingSphere,BoundingVolume,Button,CameraNode,Checkbox,ColorChooser,Container,Geometry,GeometryGroupNode,GridPanel,InstancedGeometry,InstancedNode,Label,LightNode,ListBox,NButton,NColumn,NConfirmDialogWindow,NContainer,NErrorWindow,NHud,NIconButton,Nip07AuthWindow,Nip46AuthWindow,Nip46ChallengeWindow,NLabel,NLoadingSpinner,NMultiPageList,Node,NPanel,NQrViewer,NRow,NsecAuthWindow,NTextInput,NToast,NVSpacer,NWindow,OptionPanel,Panel,ParticleEmitter,PasswordField,Picture,ProgressBar,Ray,RollupPanel,Selector,SimpleBatchNode,SkeletonDebugger,Slider,Spatial,Spinner,StatsView,StoredAuthSelectionWindow,TabbedPanel,TerrainGrid,TerrainPatch,TerrainQuad,TextField,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
-