Enfusion Script API
|
Modules | |
Vehicles | |
Classes | |
interface | Contact |
Output structure for reporting collisions. More... | |
interface | Physics |
Wrapper over a physics simulation of an entity. More... | |
interface | Physics6DOFJoint |
6 DOF joint simulation. More... | |
interface | Physics6DOFSpringJoint |
6 DOF spring joint simulation. More... | |
interface | PhysicsBallSocketJoint |
Ball socket joint simulation. More... | |
interface | PhysicsBlock |
Disables collisions between two entities. More... | |
interface | PhysicsConeTwistJoint |
Cone twist joint simulation. More... | |
interface | PhysicsFixedJoint |
Fixed joint simulation. More... | |
interface | PhysicsGeom |
Geometric shapes relevant for physics simulation. More... | |
interface | PhysicsGeomDef |
Geometry element properties. More... | |
interface | PhysicsHingeJoint |
Hinge joint simulation. More... | |
interface | PhysicsJoint |
Wrapper over joint simulation. More... | |
interface | PhysicsMaterial |
Surface properties relevant for physics simulation. More... | |
interface | PhysicsRagdoll |
Wrapper over Ragdoll simulation. More... | |
interface | PhysicsSliderJoint |
Slider joint simulation. More... | |
interface | PhysicsWorld |
Physical simulation of the world. More... | |
interface | SurfaceProperties |
General surface properties. More... | |
interface | PhysicsUtils |
Enumerations | |
enum | ActiveState { ActiveState.INACTIVE , ActiveState.ACTIVE , ActiveState.ALWAYS_ACTIVE } |
Activation state of the physics controller in the physics world. More... | |
enum | SimulationState { SimulationState.NONE , SimulationState.COLLISION , SimulationState.SIMULATION } |
State/presence of the physics controller in physics world. More... | |
enum ActiveState |
enum SimulationState |
State/presence of the physics controller in physics world.
When it's created as static, only SimulationState::NONE or SimulationState::COLLISION can be used. For dynamic ones, there is also SimulationState::SIMULATION for full dynamic simulation.
Enumerator | |
---|---|
NONE | body is not in simulation, nor in collision world |
COLLISION | body is in collision world, but it's not simulated |
SIMULATION | dynamic bodies are colliding and are simulated |