SO3Engine
|
Go to the source code of this file.
Functions | |
int | getMaterialContactCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the callback a body leave the physic world. | |
int | getMaterialOverlapStartedCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the Physic Material Overlap callback. | |
int | getMaterialOverlapEndedCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
C function that prepares the VM for the execution of the Physic Material Overlap callback. | |
int | SO3WorldSetFPS (mmachine m) |
SO3WorldSetFPS : defines FPS for physic world. | |
int | SO3WorldGetFPS (mmachine m) |
SO3WorldGetFPS : retrieve the FPS for physic world. | |
int | SO3WorldSetSize (mmachine m) |
SO3WorldSetSize : function to defines world size. | |
int | SO3WorldSetFrictionModel (mmachine m) |
SO3WorldSetFrictionModel : This function sets the friction model for the world ! Deprecated ! | |
int | SO3WorldGetFrictionModel (mmachine m) |
SO3WorldGetFrictionModel : This function gets the friction model for the world ! Deprecated ! | |
int | SO3WorldSetPlateformArchitecture (mmachine m) |
SO3WorldSetPlateformArchitecture : This function sets the platform architecture for the world ! Deprecated ! | |
int | SO3WorldGetPlateformArchitecture (mmachine m) |
SO3WorldGetPlateformArchitecture : This function gets the platform architecture for the world ! Deprecated ! | |
int | SO3WorldSetSolverModel (mmachine m) |
SO3WorldSetSolverModel : This function sets thesolver model for the world. | |
int | SO3WorldGetSolverModel (mmachine m) |
SO3WorldGetSolverModel : This function gets the solver model of the world. | |
int | SO3WorldSetEnabled (mmachine m) |
SO3WorldSetEnabled : Activate or Deactivate the physic world. | |
int | SO3WorldGetEnabled (mmachine m) |
SO3WorldGetEnabled : Return the enable state of the physic world. | |
int | SO3WorldReset (mmachine m) |
SO3WorldReset : Reset the physic world and all bodies states. | |
int | SO3WorldSetBodiesInitialState (mmachine m) |
SO3WorldSetBodiesInitialState : Set the current PRS as initial PRS to all bodies. | |
int | SO3BodySetInitialState (mmachine m) |
SO3BodySetInitialState : Set the current PRS as initial PRS to this body. | |
int | SO3WorldShowLines (mmachine m) |
SO3WorldShowLines : Return true if world shows its debug calculation lines. | |
int | SO3WorldSetGravity (mmachine m) |
SO3WorldSetGravity : defines gravity for the scene. | |
int | SO3WorldGetGravity (mmachine m) |
SO3WorldGetGravity : get the gravity of the scene. | |
int | SO3BodyCreateBox (mmachine m) |
SO3BodyCreateBox : Create a body as a box shape. | |
int | SO3BodyCreateEllipsoid (mmachine m) |
SO3BodyCreateEllipsoid : Create a body as an ellipsoid shape. | |
int | SO3BodyCreateCapsule (mmachine m) |
SO3BodyCreateCapsule : Create a body as a capsule shape. | |
int | SO3BodyCreateChamferCylinder (mmachine m) |
SO3BodyCreateChamferCylinder : Create a body as a chamfer cylinder shape. | |
int | SO3BodyCreateCone (mmachine m) |
SO3BodyCreateCone : Create a body as a cone shape. | |
int | SO3BodyCreateCylinder (mmachine m) |
SO3BodyCreateCylinder : Create a body as a cylinder shape. | |
int | SO3BodyCreatePyramid (mmachine m) |
SO3BodyCreatePyramid : Create a body as a pyramid shape. | |
int | SO3BodyCreateBoxExt (mmachine m) |
SO3BodyCreateBoxExt : Create a body as a box shape. | |
int | SO3BodyCreateEllipsoidExt (mmachine m) |
SO3BodyCreateEllipsoidExt : Create a body as an ellipsoid shape. | |
int | SO3BodyCreateCapsuleExt (mmachine m) |
SO3BodyCreateCapsuleExt : Create a body as a capsule shape. | |
int | SO3BodyCreateChamferCylinderExt (mmachine m) |
SO3BodyCreateChamferCylinderExt : Create a body as a chamfer cylinder shape. | |
int | SO3BodyCreateConeExt (mmachine m) |
SO3BodyCreateConeExt : Create a body as a cone shape. | |
int | SO3BodyCreateCylinderExt (mmachine m) |
SO3BodyCreateCylinderExt : Create a body as a cylinder shape. | |
int | SO3BodyCreatePyramidExt (mmachine m) |
SO3BodyCreatePyramidExt : Create a body as a pyramid shape. | |
int | SO3BodyCreateCollisionTree (mmachine m) |
SO3BodyCreateCollisionTree : Create a body as an exact collision tree. | |
int | SO3BodyCreateShape (mmachine m) |
SO3BodyCreateShape : Create a body as a shape (automatic calculation) | |
int | SO3BodyCreateConcaveShape (mmachine m) |
SO3BodyCreateConcaveShape : Create a body as a shape (automatic calculation) | |
int | SO3BodyGetShapeDefinition (mmachine m) |
SO3BodyGetShapeDefinition : Get a body shape definition. | |
int | SO3BodySetMass (mmachine m) |
SO3BodySetMass : Set a mass to a body. | |
int | SO3BodyCreateBasicJointUpVector (mmachine m) |
SO3BodyCreateBasicJointUpVector : Create an up joint vector. | |
int | SO3BodyDestroyBasicJointUpVector (mmachine m) |
SO3BodyDestroyBasicJointUpVector : Destroying an up joint vector. | |
int | SO3BodySetForce (mmachine m) |
SO3BodySetForce : Set a force to a body. | |
int | SO3BodyAddForce (mmachine m) |
SO3BodyAddForce : Add a force to a body. | |
int | SO3BodyGetForce (mmachine m) |
SO3BodyGetForce : Get the current force of a body. | |
int | SO3BodySetConstantForce (mmachine m) |
SO3BodySetConstantForce : Set a force to a body that will be constant each frame. | |
int | SO3BodyAddConstantForce (mmachine m) |
SO3BodyAddConstantForce : Add a force to a body that will be constant each frame. | |
int | SO3BodyGetConstantForce (mmachine m) |
SO3BodyGetConstantForce : Get the current constant force of a body. | |
int | SO3BodySetConstantTorque (mmachine m) |
SO3BodySetConstantTorque : Set a constant torque force to a body that will be constant each frame. | |
int | SO3BodyAddConstantTorque (mmachine m) |
SO3BodyAddConstantTorque : Add a torque force to a body that will be constant each frame. | |
int | SO3BodyGetConstantTorque (mmachine m) |
SO3BodyGetConstantTorque : Get the current constant torque of a body. | |
int | SO3BodyAddGlobalForce (mmachine m) |
SO3BodyAddGlobalForce : Add a global force to a body. | |
int | SO3BodyAddLocalForce (mmachine m) |
SO3BodyAddLocalForce : Add a local force to a body. | |
int | SO3BodyAddTorque (mmachine m) |
SO3BodyAddTorque : Add torque vector to a body. | |
int | SO3BodySetTorque (mmachine m) |
SO3BodySetTorque : Set a torque to a body. | |
int | SO3BodySetOmega (mmachine m) |
SO3BodySetOmega : Set an omega to a body. | |
int | SO3BodySetVelocity (mmachine m) |
SO3BodySetVelocity : Set a velocity to a body. | |
int | SO3BodyAddImpulse (mmachine m) |
SO3BodyAddImpulse : Add an impulsion to a body. | |
int | SO3BodyMoveTo (mmachine m) |
SO3BodyMoveTo : Move a body to a position using forces. | |
int | SO3BodyRotateTo (mmachine m) |
SO3BodyRotateTo : Rotate a body to a orientation using forces. | |
int | SO3BodySetPositionOrientation (mmachine m) |
SO3BodySetPositionOrientation : Set Position/Orientation of a body DO NOT USE. | |
int | SO3BodySetAngularDamping (mmachine m) |
SO3BodySetAngularDamping : defines angular Damping of a body. | |
int | SO3BodySetCenterOfMass (mmachine m) |
SO3BodySetCenterOfMass : defines center of mass for a body. | |
int | SO3BodySetMassMatrix (mmachine m) |
SO3BodySetMassMatrix : defines mass matrix of a body. | |
int | SO3BodyGetAngularDamping (mmachine m) |
SO3BodyGetAngularDamping : Get the angular damping of a body. | |
int | SO3BodyGetOmega (mmachine m) |
SO3BodyGetOmega : Get the omega of a body. | |
int | SO3BodySetLinearDamping (mmachine m) |
SO3BodySetLinearDamping : defines linear damping of a body. | |
int | SO3BodySetAutoSleep (mmachine m) |
SO3BodySetAutoSleep : defines Auto sleep state of a body. | |
int | SO3BodySetType (mmachine m) |
SO3BodySetType : Defines a user type of body. | |
int | SO3BodySetIgnoreCollision (mmachine m) |
SO3BodySetIgnoreCollision : Define if a body must be ignored when a collision occure. | |
int | SO3BodyGetIgnoreCollision (mmachine m) |
SO3BodyGetIgnoreCollision : Retrieve the ignore collision state of a body. | |
int | SO3BodySetContiniousCollisionMode (mmachine m) |
SO3BodySetContiniousCollisionMode : defines continuous collision mode of a body. | |
int | SO3BodySetFluid (mmachine m) |
SO3BodySetFluid : defines a body as a fluid behavior. | |
int | SO3BodyGetFluid (mmachine m) |
SO3BodyGetFluid : Retrieve the fluid state of a body. | |
int | SO3BodySetFluidVolumeRatio (mmachine m) |
SO3BodySetFluidVolumeRatio : Set a body fluid parameters. | |
int | SO3BodyGetFluidVolumeRatio (mmachine m) |
SO3BodyGetFluidVolumeRatio : get the fluid parameters of a body. | |
int | SO3BodyCalculateOffset (mmachine m) |
SO3BodyCalculateOffset : calculate the mass offset of a body. | |
int | SO3BodyGetLinearDamping (mmachine m) |
SO3BodyGetLinearDamping : Get the linear damping of a body. | |
int | SO3BodyGetInvMass (mmachine m) |
SO3BodyGetInvMass : Get the inverse mass matrix of a body. | |
int | SO3BodyGetMassMatrix (mmachine m) |
SO3BodyGetMassMatrix : Get the mass matrix of a body. | |
int | SO3BodyGetAutoSleep (mmachine m) |
SO3BodyGetAutoSleep : Get the auto sleep state of a body. | |
int | SO3BodyGetSleepingState (mmachine m) |
SO3BodyGetSleepingState : Get the sleep state of a body. | |
int | SO3BodyGetType (mmachine m) |
SO3BodyGetType : Returns the user type of body. | |
int | SO3BodyGetContiniousCollisionMode (mmachine m) |
SO3BodyGetContiniousCollisionMode : Get the continuous collision mode of a body. | |
int | SO3BodyGetCenterOfMass (mmachine m) |
SO3BodyGetCenterOfMass : Get the center of masse of a body. | |
int | SO3BodyGetVelocity (mmachine m) |
SO3BodyGetVelocity : Get the velocity of a body. | |
int | SO3BodyGetTorque (mmachine m) |
SO3BodyGetTorque : Get the torque of a body. | |
int | SO3BodyGetPositionOrientation (mmachine m) |
SO3BodyGetPositionOrientation : Get the position/orientation of a body. | |
int | SO3BodySetFreeze (mmachine m) |
SO3BodySetFreeze : Set a body to freeze state. | |
int | SO3BodyGetFreeze (mmachine m) |
SO3BodyGetFreeze : Get freeze state of a body. | |
int | SO3BodySetSimulation (mmachine m) |
SO3BodySetSimulation : Enable or disable a body simulation. | |
int | SO3BodyGetSimulation (mmachine m) |
SO3BodyGetSimulation : Get simulation state of a body. | |
int | SO3BodySetGravityEnable (mmachine m) |
SO3BodySetGravityEnable : Set a body to freeze state. | |
int | SO3BodyGetGravityEnable (mmachine m) |
SO3BodyGetGravityEnable : Get freeze state of a body. | |
int | SO3BodyGetSceneNode (mmachine m) |
SO3BodyGetSceneNode : Get the scene Node asssociated to a body. | |
int | SO3BodyDestroy (mmachine m) |
SO3BodyDestroy : Destroy a body. | |
int | SO3BodyShowDebug (mmachine m) |
SO3BodyShowDebug : Set the body shape visible state. | |
int | SO3SceneNodeGetBody (mmachine m) |
SO3SceneNodeGetBody : Get the body attached to a node. | |
int | SO3PhysicsRayCast (mmachine m) |
SO3PhysicsRayCast : send a raycast and return the distance. | |
int | SO3PhysicsRayCastExt (mmachine m) |
SO3PhysicsRayCastExt : send a raycast all the hit bodies. | |
int | SO3PhysicsContraintDestroy (mmachine m) |
SO3PhysicsContraintDestroy : Destroy a physic contraint. | |
int | SO3PhysicsContraintSetCollisionState (mmachine m) |
SO3PhysicsContraintSetCollisionState : Set a physic contraint collision state between the son and the parent body. | |
int | SO3PhysicsContraintGetCollisionState (mmachine m) |
SO3PhysicsContraintGetCollisionState : Get a physic contraint collision state between the son and the parent body. | |
int | SO3PhysicsContraintSetStiffness (mmachine m) |
SO3PhysicsContraintSetStiffness : Set a physic contraint stiffness value. | |
int | SO3PhysicsContraintGetStiffness (mmachine m) |
SO3PhysicsContraintGetStiffness : Get a physic contraint stiffness value. | |
int | SO3PhysicsContraintCreateBallAndSocket (mmachine m) |
SO3PhysicsContraintCreateBallAndSocket : Create a physic ball and socket contraint. | |
int | SO3PhysicsContraintSetBallAndSocketLimits (mmachine m) |
SO3PhysicsContraintSetBallAndSocketLimits : Set a physic ball and socket contraint cone limits. | |
int | SO3PhysicsContraintSetBallAndSocketControlled (mmachine m) |
SO3PhysicsContraintSetBallAndSocketControlled : Set a physic ball and socket contraint controlled mode. | |
int | SO3PhysicsContraintSetBallAndSocketAngularVelocity (mmachine m) |
SO3PhysicsContraintSetBallAndSocketAngularVelocity : Set a physic ball and socket contraint angular velocity The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled. | |
int | SO3PhysicsContraintSetBallAndSocketYawAngle (mmachine m) |
SO3PhysicsContraintSetBallAndSocketYawAngle : Set a physic ball and socket contraint Yaw angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled. | |
int | SO3PhysicsContraintSetBallAndSocketPitchAngle (mmachine m) |
SO3PhysicsContraintSetBallAndSocketPitchAngle : Set a physic ball and socket contraint Pitch angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled. | |
int | SO3PhysicsContraintSetBallAndSocketRollAngle (mmachine m) |
SO3PhysicsContraintSetBallAndSocketRollAngle : Set a physic ball and socket contraint Roll angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled. | |
int | SO3PhysicsContraintGetBallAndSocketAngle (mmachine m) |
SO3PhysicsContraintGetBallAndSocketAngle : Get a physic ball and socket contraint angle. | |
int | SO3PhysicsContraintGetBallAndSocketOmega (mmachine m) |
SO3PhysicsContraintGetBallAndSocketOmega : Get a physic ball and socket contraint omega. | |
int | SO3PhysicsContraintGetBallAndSocketForce (mmachine m) |
SO3PhysicsContraintGetBallAndSocketForce : Get a physic ball and socket contraint force. | |
int | SO3PhysicsContraintCreateHinge (mmachine m) |
SO3PhysicsContraintCreateHinge : Create a hinge contraint. | |
int | SO3PhysicsContraintGetHingeAngle (mmachine m) |
SO3PhysicsContraintGetHingeAngle : Get a physic hinge contraint angle. | |
int | SO3PhysicsContraintGetHingeOmega (mmachine m) |
SO3PhysicsContraintGetHingeOmega : Get a physic hinge contraint omega. | |
int | SO3PhysicsContraintGetHingeForce (mmachine m) |
SO3PhysicsContraintGetHingeForce : Get a physic hinge contraint force. | |
bool | MaterialIDExists (SScene *scene, string testName, SMaterialID **result) |
function to check if a material ID exists | |
int | SO3PhysicsContraintSetHingeLimits (mmachine m) |
SO3PhysicsContraintSetHingeLimits : Set a physic hinge contraint angle limits. | |
int | SO3PhysicsContraintSetHingeMotorAngle (mmachine m) |
SO3PhysicsContraintSetHingeMotorAngle : Set a physic hinge contraint to an angle. | |
int | SO3PhysicsContraintSetHingeMotorOmega (mmachine m) |
SO3PhysicsContraintSetHingeMotorOmega : Set a physic hinge contraint omega. | |
int | SO3PhysicsContraintSetHingeTorque (mmachine m) |
SO3PhysicsContraintSetHingeTorque : Set a physic hinge contraint torque. | |
int | SO3PhysicsContraintSetHingeBrake (mmachine m) |
SO3PhysicsContraintSetHingeBrake : Set a physic hinge contraint brake. | |
int | SO3PhysicsContraintSetHingeMotorEnable (mmachine m) |
SO3PhysicsContraintSetHingeMotorEnable : set a physic hinge contraint motor state. | |
int | SO3PhysicsContraintCreateSlider (mmachine m) |
SO3PhysicsContraintCreateSlider : Create a slider contraint. | |
int | SO3PhysicsContraintGetSliderVelocity (mmachine m) |
SO3PhysicsContraintGetSliderVelocity : Get a physic hinge contraint velocity. | |
int | SO3PhysicsContraintGetSliderForce (mmachine m) |
SO3PhysicsContraintGetSliderForce : Get a physic slider contraint force. | |
int | SO3PhysicsContraintGetSliderPosition (mmachine m) |
SO3PhysicsContraintGetSliderPosition : Get a physic slider contraint position. | |
int | SO3PhysicsContraintSetSliderLimits (mmachine m) |
SO3PhysicsContraintSetSliderLimits : Set a physic slider contraint distance limits. | |
int | SO3PhysicsContraintSetSliderSpring (mmachine m) |
SO3PhysicsContraintSetSliderSpring : Set a physic slider contraint spring setting. | |
int | SO3PhysicsContraintSetSliderFriction (mmachine m) |
SO3PhysicsContraintSetSliderFriction : Set a physic slider contraint friction. | |
int | SO3PhysicsContraintSetSliderMotorEnable (mmachine m) |
SO3PhysicsContraintSetSliderMotorEnable : set a physic slider contraint motor state. | |
int | SO3PhysicsContraintSetSliderMotorVelocity (mmachine m) |
SO3PhysicsContraintSetSliderMotorVelocity : Set a physic slider contraint velocity. | |
int | SO3PhysicsContraintCreateVehicle (mmachine m) |
SO3PhysicsContraintCreateVehicle : Create a vehicle contraint. | |
int | SO3PhysicsContraintAddVehicleTire (mmachine m) |
SO3PhysicsContraintAddVehicleTire : Add a physic vehicle contraint tire. | |
int | SO3PhysicsContraintGetVehicleSpeed (mmachine m) |
SO3PhysicsContraintGetVehicleSpeed : Get a physic vehicle contraint speed. | |
int | SO3PhysicsContraintSetVehicleSteerAngle (mmachine m) |
SO3PhysicsContraintSetVehicleSteerAngle : Set a physic vehicle contraint steer angle. | |
int | SO3PhysicsContraintSetVehicleDrivingTorque (mmachine m) |
SO3PhysicsContraintSetVehicleDrivingTorque : Set a physic vehicle contraint driving torque. | |
int | SO3PhysicsContraintSetVehicleBrake (mmachine m) |
SO3PhysicsContraintSetVehicleBrake : Set a physic vehicle contraint brake. | |
int | SO3PhysicsContraintGetVehicleOnAir (mmachine m) |
SO3PhysicsContraintGetVehicleOnAir : Get if a physic vehicle contraint has tires on the ground. | |
int | SO3PhysicsContraintGetVehicleTireAngularVelocity (mmachine m) |
SO3PhysicsContraintGetVehicleTireAngularVelocity : Get a physic vehicle contraint tire angular velocity. | |
int | SO3PhysicsContraintGetVehicleTireOnAir (mmachine m) |
SO3PhysicsContraintGetVehicleTireOnAir : Get a physic vehicle contraint tire on air state. | |
SMaterialPair * | getMaterialPairByWorld (SPhysicWorld *world, int ID1, int ID2) |
function to check if a material ID exists | |
int | SO3BodySetMaterial (mmachine m) |
SO3BodySetMaterial : Set a material for a body. | |
int | SO3BodyGetMaterial (mmachine m) |
SO3BodyGetMaterial : Get a material of a body. | |
int | SO3PhysicsMaterialCreate (mmachine m) |
SO3PhysicsMaterialCreate : Create a new Physic Material ID. | |
int | SO3PhysicsMaterialDestroy (mmachine m) |
SO3PhysicsMaterialDestroy : Destroy a Physic Material ID. | |
int | SO3PhysicsGetMaterial (mmachine m) |
SO3PhysicsGetMaterial : return a material Physics by its name. | |
int | SO3PhysicsGetMaterialName (mmachine m) |
SO3PhysicsGetMaterialName : return the name of a Physics material. | |
int | SO3PhysicsMaterialSetSurfaceThickness (mmachine m) |
SO3PhysicsMaterialSetSurfaceThickness : defines Surface thickness between two physics material. | |
int | SO3PhysicsMaterialSetDefaultElasticity (mmachine m) |
SO3PhysicsMaterialSetDefaultElasticity : defines Default elasticity between two physics material. | |
int | SO3PhysicsMaterialSetDefaultFriction (mmachine m) |
SO3PhysicsMaterialSetDefaultFriction : defines Default friction between two physics material. | |
int | SO3PhysicsMaterialSetDefaultSoftness (mmachine m) |
SO3PhysicsMaterialSetDefaultSoftness : defines Default softness between two physics material. | |
int | SO3PhysicsMaterialSetDefaultCollidable (mmachine m) |
SO3PhysicsMaterialSetDefaultCollidable : defines Default Collidable state between two physics material. | |
int | SO3PhysicsMaterialSetContiniousCollisionMode (mmachine m) |
SO3PhysicsMaterialSetContiniousCollisionMode : do nothing deprecated. | |
int | SO3WorldApplyImpulsePoint (mmachine m) |
SO3WorldApplyImpulsePoint : Apply an impulsion on bodies in the point area. | |
int | SO3CbMaterialCollision (mmachine m) |
SO3CbMaterialCollision : Define the callback scol had to be called when two material ID collide. | |
int | SO3CbMaterialOverlapStarted (mmachine m) |
SO3CbMaterialOverlapStarted : Define the callback scol had to be called when two material ID start to overlap. | |
int | SO3CbMaterialOverlapEnded (mmachine m) |
SO3CbMaterialOverlapEnded : Define the callback scol had to be called when two material ID does not overlap together anymore. | |
int | SO3CbBodyLeaveWorld (mmachine m) |
SO3CbBodyLeaveWorld : Define the scol callback had to be called when a body leave the physic world deprecated. | |
int | SCOLloadPhysics (mmachine m, cbmachine w) |
Load the SO3Engine Viewport function. | |
int | SCOLfreePhysics () |
free the SO3Engine Viewport function | |
Variables | |
int | SO3_MATERIALPAIR_OVERLAP_STARTED_MSG |
main include | |
int | SO3_MATERIALPAIR_OVERLAP_ENDED_MSG |
int | SO3_MATERIALPAIR_COLLISION_MSG |
NativeDefinition | natSO3Phys [] |
int getMaterialContactCallback | ( | mmachine | m, |
SCOL_PTR_TYPE | id, | ||
SCOL_PTR_TYPE | param | ||
) |
C function that prepares the VM for the execution of the callback a body leave the physic world.
m | : current machine |
h | : main scol window |
msg | : message |
id | : pointer of the obj |
param | : data pointer |
ret | : user parameter |
C function that prepares the VM for the execution of the Physic Material Contact callback
m | : current machine |
h | : main scol window |
msg | : message |
id | : pointer of the obj |
param | : data pointer |
ret | : user parameter |
Definition at line 106 of file SCOLPhysics.cpp.
int getMaterialOverlapEndedCallback | ( | mmachine | m, |
SCOL_PTR_TYPE | id, | ||
SCOL_PTR_TYPE | param | ||
) |
C function that prepares the VM for the execution of the Physic Material Overlap callback.
m | : current machine |
h | : main scol window |
msg | : message |
id | : pointer of the obj |
param | : data pointer |
ret | : user parameter |
Definition at line 266 of file SCOLPhysics.cpp.
int getMaterialOverlapStartedCallback | ( | mmachine | m, |
SCOL_PTR_TYPE | id, | ||
SCOL_PTR_TYPE | param | ||
) |
C function that prepares the VM for the execution of the Physic Material Overlap callback.
m | : current machine |
h | : main scol window |
msg | : message |
id | : pointer of the obj |
param | : data pointer |
ret | : user parameter |
Definition at line 194 of file SCOLPhysics.cpp.
SMaterialPair * getMaterialPairByWorld | ( | SPhysicWorld * | world, |
int | ID1, | ||
int | ID2 | ||
) |
function to check if a material ID exists
world | : current physic world |
ID1 | : Material ID1 |
ID2 | : Material ID2 |
Definition at line 7714 of file SCOLPhysics.cpp.
bool MaterialIDExists | ( | SScene * | scene, |
string | testName, | ||
SMaterialID ** | result | ||
) |
function to check if a material ID exists
scene | : current scene |
testName | : given name |
result | : current material ID pointer |
Definition at line 6517 of file SCOLPhysics.cpp.
int SCOLfreePhysics | ( | ) |
free the SO3Engine Viewport function
m | : The VM |
Definition at line 8940 of file SCOLPhysics.cpp.
int SCOLloadPhysics | ( | mmachine | m, |
cbmachine | w | ||
) |
Load the SO3Engine Viewport function.
m | : The VM |
w | : The Callback VM |
Definition at line 8920 of file SCOLPhysics.cpp.
NativeDefinition natSO3Phys[] |
Definition at line 8744 of file SCOLPhysics.cpp.
int SO3_MATERIALPAIR_COLLISION_MSG |
Definition at line 67 of file SCOLPhysics.cpp.
int SO3_MATERIALPAIR_OVERLAP_ENDED_MSG |
Definition at line 66 of file SCOLPhysics.cpp.
int SO3_MATERIALPAIR_OVERLAP_STARTED_MSG |
main include
Definition at line 65 of file SCOLPhysics.cpp.