Panda3D
Public Types | Public Member Functions | Static Public Member Functions | List of all members
OdeSurfaceParameters Class Reference
Inheritance diagram for OdeSurfaceParameters:
TypedObject

Public Types

enum  ModeFlags {
  MF_contact_mu2 = 1, MF_contactFDir1 = 2, MF_contactBounce = 4, MF_contactSoftERP = 8,
  MF_contactSoftCFM = 16, MF_contactMotion1 = 32, MF_contactMotion2 = 64, MF_contactSlip1 = 128,
  MF_contactSlip2 = 256, MF_contactApprox0 = 0, MF_contactApprox1_1 = 4096, MF_contactApprox1_2 = 8192,
  MF_contactApprox1 = 12288
}
 

Public Member Functions

 __init__ (int mode, DReal mu)
 
DReal getBounce ()
 
DReal getBounceVel ()
 
int getMode ()
 
DReal getMotion1 ()
 
DReal getMotion2 ()
 
DReal getMu ()
 
DReal getMu2 ()
 
DReal getSlip1 ()
 
DReal getSlip2 ()
 
DReal getSoftCfm ()
 
DReal getSoftErp ()
 
 setBounce (DReal bounce)
 
 setBounceVel (DReal bounce_vel)
 
 setMode (int mode)
 
 setMotion1 (DReal motion)
 
 setMotion2 (DReal motion)
 
 setMu (DReal mu)
 
 setMu2 (DReal mu2)
 
 setSlip1 (DReal slip)
 
 setSlip2 (DReal slip)
 
 setSoftCfm (DReal soft_cfm)
 
 setSoftErp (DReal soft_erp)
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Member Enumeration Documentation

◆ ModeFlags

enum ModeFlags
Enumerator
MF_contact_mu2 
MF_contactFDir1 
MF_contactBounce 
MF_contactSoftERP 
MF_contactSoftCFM 
MF_contactMotion1 
MF_contactMotion2 
MF_contactSlip1 
MF_contactSlip2 
MF_contactApprox0 
MF_contactApprox1_1 
MF_contactApprox1_2 
MF_contactApprox1 

Member Function Documentation

◆ __init__()

__init__ ( int  mode,
DReal  mu 
)

◆ getBounce()

DReal getBounce ( )

◆ getBounceVel()

DReal getBounceVel ( )

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getMode()

int getMode ( )

◆ getMotion1()

DReal getMotion1 ( )

◆ getMotion2()

DReal getMotion2 ( )

◆ getMu()

DReal getMu ( )

◆ getMu2()

DReal getMu2 ( )

◆ getSlip1()

DReal getSlip1 ( )

◆ getSlip2()

DReal getSlip2 ( )

◆ getSoftCfm()

DReal getSoftCfm ( )

◆ getSoftErp()

DReal getSoftErp ( )

◆ setBounce()

setBounce ( DReal  bounce)

◆ setBounceVel()

setBounceVel ( DReal  bounce_vel)

◆ setMode()

setMode ( int  mode)

◆ setMotion1()

setMotion1 ( DReal  motion)

◆ setMotion2()

setMotion2 ( DReal  motion)

◆ setMu()

setMu ( DReal  mu)

◆ setMu2()

setMu2 ( DReal  mu2)

◆ setSlip1()

setSlip1 ( DReal  slip)

◆ setSlip2()

setSlip2 ( DReal  slip)

◆ setSoftCfm()

setSoftCfm ( DReal  soft_cfm)

◆ setSoftErp()

setSoftErp ( DReal  soft_erp)