Panda3D
|
#include <pandadoc.hpp>
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) | |
![]() | |
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 TypeHandle | getClassType () |
Additional Inherited Members | |
![]() | |
TypeHandle | type |
Returns the TypeHandle representing this object's type. More... | |
enum ModeFlags |
__init__ | ( | int | mode, |
DReal | mu | ||
) |
DReal getBounce | ( | ) |
DReal getBounceVel | ( | ) |
|
static |
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 | ) |