org.odejava.collision
Class Collision

java.lang.Object
  extended by org.odejava.collision.Collision
Direct Known Subclasses:
JavaCollision, NativeCollision, PureJavaCollision

public abstract class Collision
extends Object


Field Summary
protected  org.odejava.ode.SWIGTYPE_p_dJointGroupID contactGroupId
           
protected  boolean deleted
          Flag indicating that this world has been requested to be deleted.
 
Constructor Summary
Collision()
           
 
Method Summary
 void delete()
           
 void emptyContactGroup()
           
 org.odejava.ode.SWIGTYPE_p_dJointGroupID getContactGroupId()
           
 void setSurfaceBounce(float bounce)
          Set default value for collision surface parameters.
 void setSurfaceBounceVel(float bounceVel)
          Set default value for collision surface parameters.
 void setSurfaceMode(int mode)
          Set default value for collision surface parameters.
 void setSurfaceMotion1(float motion1)
          Set default value for collision surface parameters.
 void setSurfaceMotion2(float motion2)
          Set default value for collision surface parameters.
 void setSurfaceMu(float mu)
          Set default value for collision surface parameters.
 void setSurfaceMu2(float mu2)
          Set default value for collision surface parameters.
 void setSurfaceSlip1(float slip1)
          Set default value for collision surface parameters.
 void setSurfaceSlip2(float slip2)
          Set default value for collision surface parameters.
 void setSurfaceSoftCfm(float softCfm)
          Set default value for collision surface parameters.
 void setSurfaceSoftErp(float softErp)
          Set default value for collision surface parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contactGroupId

protected org.odejava.ode.SWIGTYPE_p_dJointGroupID contactGroupId

deleted

protected boolean deleted
Flag indicating that this world has been requested to be deleted. After this is set to true, none of the methods should allow further calls to ODE as the values are invalid, and may well cause a crash of the library or other strange error.

Constructor Detail

Collision

public Collision()
Method Detail

delete

public void delete()

getContactGroupId

public org.odejava.ode.SWIGTYPE_p_dJointGroupID getContactGroupId()
Returns:
Returns the contactGroupId.

emptyContactGroup

public void emptyContactGroup()

setSurfaceBounce

public void setSurfaceBounce(float bounce)
Set default value for collision surface parameters.


setSurfaceBounceVel

public void setSurfaceBounceVel(float bounceVel)
Set default value for collision surface parameters.


setSurfaceMode

public void setSurfaceMode(int mode)
Set default value for collision surface parameters.


setSurfaceMotion1

public void setSurfaceMotion1(float motion1)
Set default value for collision surface parameters.


setSurfaceMotion2

public void setSurfaceMotion2(float motion2)
Set default value for collision surface parameters.


setSurfaceMu

public void setSurfaceMu(float mu)
Set default value for collision surface parameters.


setSurfaceMu2

public void setSurfaceMu2(float mu2)
Set default value for collision surface parameters.


setSurfaceSlip1

public void setSurfaceSlip1(float slip1)
Set default value for collision surface parameters.


setSurfaceSlip2

public void setSurfaceSlip2(float slip2)
Set default value for collision surface parameters.


setSurfaceSoftCfm

public void setSurfaceSoftCfm(float softCfm)
Set default value for collision surface parameters.


setSurfaceSoftErp

public void setSurfaceSoftErp(float softErp)
Set default value for collision surface parameters.