com.jme.intersection
Class BoundingCollisionResults
java.lang.Object
com.jme.intersection.CollisionResults
com.jme.intersection.BoundingCollisionResults
public class BoundingCollisionResults
- extends CollisionResults
BoundingCollisionResults creates a CollisionResults object that only cares
about bounding volume accuracy. CollisionData objects are added to the
collision list as they happen, these data objects only refer to the two
meshes, not their triangle lists. While BoundingCollisionResults defines a
processCollisions method, it is empty and should be further defined by the
user if so desired.
- Version:
- $Id: BoundingCollisionResults.java,v 1.2 2004/10/05 23:38:16
mojomonkey Exp $
- Author:
- Mark Powell
Method Summary |
void |
addCollision(Geometry s,
Geometry t)
adds a CollisionData object to this results list, the objects only refer
to the collision meshes, not the triangles. |
void |
processCollisions()
empty implementation, it is highly recommended that you override this
method to handle any collisions as needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundingCollisionResults
public BoundingCollisionResults()
addCollision
public void addCollision(Geometry s,
Geometry t)
- adds a CollisionData object to this results list, the objects only refer
to the collision meshes, not the triangles.
- Specified by:
addCollision
in class CollisionResults
- Parameters:
s
- the first Geometry that intersects.t
- the second Geometry that intersects.- See Also:
CollisionResults.addCollision(com.jme.scene.Geometry,
com.jme.scene.Geometry)
processCollisions
public void processCollisions()
- empty implementation, it is highly recommended that you override this
method to handle any collisions as needed.
- Specified by:
processCollisions
in class CollisionResults
- See Also:
CollisionResults.processCollisions()