SO3Engine
|
Functions | |
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. | |
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. | |
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. | |
Scol functions definition
int SO3BodyAddConstantForce | ( | mmachine | m | ) |
SO3BodyAddConstantForce : Add a force to a body that will be constant each frame.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3088 of file SCOLPhysics.cpp.
int SO3BodyAddConstantTorque | ( | mmachine | m | ) |
SO3BodyAddConstantTorque : Add a torque force to a body that will be constant each frame.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3227 of file SCOLPhysics.cpp.
int SO3BodyAddForce | ( | mmachine | m | ) |
SO3BodyAddForce : Add a force to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 2948 of file SCOLPhysics.cpp.
int SO3BodyAddGlobalForce | ( | mmachine | m | ) |
SO3BodyAddGlobalForce : Add a global force to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3319 of file SCOLPhysics.cpp.
int SO3BodyAddImpulse | ( | mmachine | m | ) |
SO3BodyAddImpulse : Add an impulsion to a body.
Prototype: fun [SO3_PHYSICBODY [F F F] [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : delta |
[F | F F] : source position |
Definition at line 3608 of file SCOLPhysics.cpp.
int SO3BodyAddLocalForce | ( | mmachine | m | ) |
SO3BodyAddLocalForce : Add a local force to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3367 of file SCOLPhysics.cpp.
int SO3BodyAddTorque | ( | mmachine | m | ) |
SO3BodyAddTorque : Add torque vector to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Torque |
Definition at line 3415 of file SCOLPhysics.cpp.
int SO3BodyCalculateOffset | ( | mmachine | m | ) |
SO3BodyCalculateOffset : calculate the mass offset of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 4436 of file SCOLPhysics.cpp.
int SO3BodyCreateBasicJointUpVector | ( | mmachine | m | ) |
SO3BodyCreateBasicJointUpVector : Create an up joint vector.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Joint vector |
Definition at line 2823 of file SCOLPhysics.cpp.
int SO3BodyCreateBox | ( | mmachine | m | ) |
SO3BodyCreateBox : Create a body as a box shape.
Prototype: fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Box dimensions |
Definition at line 1123 of file SCOLPhysics.cpp.
int SO3BodyCreateBoxExt | ( | mmachine | m | ) |
SO3BodyCreateBoxExt : Create a body as a box shape.
Prototype: fun [SO3_OBJECT [F F F] [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Box dimensions |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 1631 of file SCOLPhysics.cpp.
int SO3BodyCreateCapsule | ( | mmachine | m | ) |
SO3BodyCreateCapsule : Create a body as a capsule shape.
Prototype: fun [SO3_OBJECT F F] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
Definition at line 1276 of file SCOLPhysics.cpp.
int SO3BodyCreateCapsuleExt | ( | mmachine | m | ) |
SO3BodyCreateCapsuleExt : Create a body as a capsule shape.
Prototype: fun [SO3_OBJECT F F [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 1854 of file SCOLPhysics.cpp.
int SO3BodyCreateChamferCylinder | ( | mmachine | m | ) |
SO3BodyCreateChamferCylinder : Create a body as a chamfer cylinder shape.
Prototype: fun [SO3_OBJECT F F] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
Definition at line 1351 of file SCOLPhysics.cpp.
int SO3BodyCreateChamferCylinderExt | ( | mmachine | m | ) |
SO3BodyCreateChamferCylinderExt : Create a body as a chamfer cylinder shape.
Prototype: fun [SO3_OBJECT F F [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 1959 of file SCOLPhysics.cpp.
int SO3BodyCreateCollisionTree | ( | mmachine | m | ) |
SO3BodyCreateCollisionTree : Create a body as an exact collision tree.
Prototype: fun [SO3_OBJECT I] SO3_PHYSICBODY
SO3_OBJECT | : current node associated with a mesh |
I | : 1 for optimized shape, 0 otherwise |
Definition at line 2383 of file SCOLPhysics.cpp.
int SO3BodyCreateConcaveShape | ( | mmachine | m | ) |
SO3BodyCreateConcaveShape : Create a body as a shape (automatic calculation)
Prototype: fun [SO3_OBJECT F] SO3_PHYSICBODY
SO3_OBJECT | : current node associated with a mesh |
F | : float tolerance 0 for best quality |
Definition at line 2534 of file SCOLPhysics.cpp.
int SO3BodyCreateCone | ( | mmachine | m | ) |
SO3BodyCreateCone : Create a body as a cone shape.
Prototype: fun [SO3_OBJECT F F] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
Definition at line 1419 of file SCOLPhysics.cpp.
int SO3BodyCreateConeExt | ( | mmachine | m | ) |
SO3BodyCreateConeExt : Create a body as a cone shape.
Prototype: fun [SO3_OBJECT F F [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 2064 of file SCOLPhysics.cpp.
int SO3BodyCreateCylinder | ( | mmachine | m | ) |
SO3BodyCreateCylinder : Create a body as a cylinder shape.
Prototype: fun [SO3_OBJECT F F] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
Definition at line 1487 of file SCOLPhysics.cpp.
int SO3BodyCreateCylinderExt | ( | mmachine | m | ) |
SO3BodyCreateCylinderExt : Create a body as a cylinder shape.
Prototype: fun [SO3_OBJECT F F [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
F | : Radius value |
F | : Height value |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 2170 of file SCOLPhysics.cpp.
int SO3BodyCreateEllipsoid | ( | mmachine | m | ) |
SO3BodyCreateEllipsoid : Create a body as an ellipsoid shape.
Prototype: fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Ellispoid dimensions |
Definition at line 1199 of file SCOLPhysics.cpp.
int SO3BodyCreateEllipsoidExt | ( | mmachine | m | ) |
SO3BodyCreateEllipsoidExt : Create a body as an ellipsoid shape.
Prototype: fun [SO3_OBJECT [F F F] [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Ellispoid dimensions |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 1742 of file SCOLPhysics.cpp.
int SO3BodyCreatePyramid | ( | mmachine | m | ) |
SO3BodyCreatePyramid : Create a body as a pyramid shape.
Prototype: fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Pyramid Dimensions |
Definition at line 1553 of file SCOLPhysics.cpp.
int SO3BodyCreatePyramidExt | ( | mmachine | m | ) |
SO3BodyCreatePyramidExt : Create a body as a pyramid shape.
Prototype: fun [SO3_OBJECT [F F F] [F F F] [F F F F]] SO3_PHYSICBODY
SO3_OBJECT | : current node |
[F | F F] : Pyramid Dimensions |
[F | F F] : position offset |
[F | F F F] : orientation offset |
Definition at line 2274 of file SCOLPhysics.cpp.
int SO3BodyCreateShape | ( | mmachine | m | ) |
SO3BodyCreateShape : Create a body as a shape (automatic calculation)
Prototype: fun [SO3_OBJECT F] SO3_PHYSICBODY
SO3_OBJECT | : current node associated with a mesh |
F | : float tolerance 0 for best quality |
Definition at line 2450 of file SCOLPhysics.cpp.
int SO3BodyDestroy | ( | mmachine | m | ) |
SO3BodyDestroy : Destroy a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 5257 of file SCOLPhysics.cpp.
int SO3BodyDestroyBasicJointUpVector | ( | mmachine | m | ) |
SO3BodyDestroyBasicJointUpVector : Destroying an up joint vector.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICCONTRAINT | : current joint to destroy |
Definition at line 2863 of file SCOLPhysics.cpp.
int SO3BodyGetAngularDamping | ( | mmachine | m | ) |
SO3BodyGetAngularDamping : Get the angular damping of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 3980 of file SCOLPhysics.cpp.
int SO3BodyGetAutoSleep | ( | mmachine | m | ) |
SO3BodyGetAutoSleep : Get the auto sleep state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4638 of file SCOLPhysics.cpp.
int SO3BodyGetCenterOfMass | ( | mmachine | m | ) |
SO3BodyGetCenterOfMass : Get the center of masse of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 4776 of file SCOLPhysics.cpp.
int SO3BodyGetConstantForce | ( | mmachine | m | ) |
SO3BodyGetConstantForce : Get the current constant force of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 3135 of file SCOLPhysics.cpp.
int SO3BodyGetConstantTorque | ( | mmachine | m | ) |
SO3BodyGetConstantTorque : Get the current constant torque of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 3274 of file SCOLPhysics.cpp.
int SO3BodyGetContiniousCollisionMode | ( | mmachine | m | ) |
SO3BodyGetContiniousCollisionMode : Get the continuous collision mode of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4742 of file SCOLPhysics.cpp.
int SO3BodyGetFluid | ( | mmachine | m | ) |
SO3BodyGetFluid : Retrieve the fluid state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4332 of file SCOLPhysics.cpp.
int SO3BodyGetFluidVolumeRatio | ( | mmachine | m | ) |
SO3BodyGetFluidVolumeRatio : get the fluid parameters of a body.
Prototype: fun [SO3_PHYSICBODY] F
SO3_PHYSICBODY | : current body |
Definition at line 4404 of file SCOLPhysics.cpp.
int SO3BodyGetForce | ( | mmachine | m | ) |
SO3BodyGetForce : Get the current force of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 2995 of file SCOLPhysics.cpp.
int SO3BodyGetFreeze | ( | mmachine | m | ) |
SO3BodyGetFreeze : Get freeze state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 5022 of file SCOLPhysics.cpp.
int SO3BodyGetGravityEnable | ( | mmachine | m | ) |
SO3BodyGetGravityEnable : Get freeze state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 5183 of file SCOLPhysics.cpp.
int SO3BodyGetIgnoreCollision | ( | mmachine | m | ) |
SO3BodyGetIgnoreCollision : Retrieve the ignore collision state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4219 of file SCOLPhysics.cpp.
int SO3BodyGetInvMass | ( | mmachine | m | ) |
SO3BodyGetInvMass : Get the inverse mass matrix of a body.
Prototype: fun [SO3_PHYSICBODY] [F [F F F]]
SO3_PHYSICBODY | : current body |
Definition at line 4514 of file SCOLPhysics.cpp.
int SO3BodyGetLinearDamping | ( | mmachine | m | ) |
SO3BodyGetLinearDamping : Get the linear damping of a body.
Prototype: fun [SO3_PHYSICBODY] F
SO3_PHYSICBODY | : current body |
Definition at line 4480 of file SCOLPhysics.cpp.
int SO3BodyGetMassMatrix | ( | mmachine | m | ) |
SO3BodyGetMassMatrix : Get the mass matrix of a body.
Prototype: fun [SO3_PHYSICBODY] [F [F F F]]
SO3_PHYSICBODY | : current body |
Definition at line 4577 of file SCOLPhysics.cpp.
int SO3BodyGetMaterial | ( | mmachine | m | ) |
SO3BodyGetMaterial : Get a material of a body.
Prototype: fun [SO3_PHYSICBODY] SO3_PHYSICMATERIAL
SO3_PHYSICBODY | : current node |
Definition at line 7784 of file SCOLPhysics.cpp.
int SO3BodyGetOmega | ( | mmachine | m | ) |
SO3BodyGetOmega : Get the omega of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 4024 of file SCOLPhysics.cpp.
int SO3BodyGetPositionOrientation | ( | mmachine | m | ) |
SO3BodyGetPositionOrientation : Get the position/orientation of a body.
Prototype: fun [SO3_PHYSICBODY] [[F F F] [F F F F]]
SO3_PHYSICBODY | : current body |
Definition at line 4910 of file SCOLPhysics.cpp.
int SO3BodyGetSceneNode | ( | mmachine | m | ) |
SO3BodyGetSceneNode : Get the scene Node asssociated to a body.
Prototype: fun [SO3_PHYSICBODY] SO3_OBJECT
SO3_PHYSICBODY | : current body |
Definition at line 5220 of file SCOLPhysics.cpp.
int SO3BodyGetShapeDefinition | ( | mmachine | m | ) |
SO3BodyGetShapeDefinition : Get a body shape definition.
Prototype: fun[SO3_PHYSICBODY] [I F [F F] [F F F] [F F F] [F F F F]]
SO3_OBJECT | : current node associated with a mesh |
F | : float tolerance 0 for best quality |
Definition at line 2618 of file SCOLPhysics.cpp.
int SO3BodyGetSimulation | ( | mmachine | m | ) |
SO3BodyGetSimulation : Get simulation state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 5103 of file SCOLPhysics.cpp.
int SO3BodyGetSleepingState | ( | mmachine | m | ) |
SO3BodyGetSleepingState : Get the sleep state of a body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4673 of file SCOLPhysics.cpp.
int SO3BodyGetTorque | ( | mmachine | m | ) |
SO3BodyGetTorque : Get the torque of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 4864 of file SCOLPhysics.cpp.
int SO3BodyGetType | ( | mmachine | m | ) |
SO3BodyGetType : Returns the user type of body.
Prototype: fun [SO3_PHYSICBODY] I
SO3_PHYSICBODY | : current body |
Definition at line 4708 of file SCOLPhysics.cpp.
int SO3BodyGetVelocity | ( | mmachine | m | ) |
SO3BodyGetVelocity : Get the velocity of a body.
Prototype: fun [SO3_PHYSICBODY] [F F F]
SO3_PHYSICBODY | : current body |
Definition at line 4820 of file SCOLPhysics.cpp.
int SO3BodyMoveTo | ( | mmachine | m | ) |
SO3BodyMoveTo : Move a body to a position using forces.
Prototype: fun [SO3_PHYSICBODY [F F F] F] I
SO3_PHYSICBODY | : current body |
[F | F F] : global destination position |
F | : stiffness between 0.000001 and 1.0 |
Definition at line 3670 of file SCOLPhysics.cpp.
int SO3BodyRotateTo | ( | mmachine | m | ) |
SO3BodyRotateTo : Rotate a body to a orientation using forces.
Prototype: fun [SO3_PHYSICBODY [F F F F] F] I
SO3_PHYSICBODY | : current body |
[F | F F F] : global destination oritentation |
F | : stiffness between 0.000001 and 1.0 |
Definition at line 3730 of file SCOLPhysics.cpp.
int SO3BodySetAngularDamping | ( | mmachine | m | ) |
SO3BodySetAngularDamping : defines angular Damping of a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Angular damping (vector) |
Definition at line 3835 of file SCOLPhysics.cpp.
int SO3BodySetAutoSleep | ( | mmachine | m | ) |
SO3BodySetAutoSleep : defines Auto sleep state of a body.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : Auto sleeping boolean(1 enable, 0 disable) |
Definition at line 4105 of file SCOLPhysics.cpp.
int SO3BodySetCenterOfMass | ( | mmachine | m | ) |
SO3BodySetCenterOfMass : defines center of mass for a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Center of Mass (vector) |
Definition at line 3883 of file SCOLPhysics.cpp.
int SO3BodySetConstantForce | ( | mmachine | m | ) |
SO3BodySetConstantForce : Set a force to a body that will be constant each frame.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3040 of file SCOLPhysics.cpp.
int SO3BodySetConstantTorque | ( | mmachine | m | ) |
SO3BodySetConstantTorque : Set a constant torque force to a body that will be constant each frame.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 3179 of file SCOLPhysics.cpp.
int SO3BodySetContiniousCollisionMode | ( | mmachine | m | ) |
SO3BodySetContiniousCollisionMode : defines continuous collision mode of a body.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : Continuous boolean(1 enable, 0 disable) |
Definition at line 4254 of file SCOLPhysics.cpp.
int SO3BodySetFluid | ( | mmachine | m | ) |
SO3BodySetFluid : defines a body as a fluid behavior.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : fluid state (1 enable, 0 disable) |
Definition at line 4294 of file SCOLPhysics.cpp.
int SO3BodySetFluidVolumeRatio | ( | mmachine | m | ) |
SO3BodySetFluidVolumeRatio : Set a body fluid parameters.
Prototype: fun [SO3_PHYSICBODY F] I
SO3_PHYSICBODY | : current body |
F | : the fluid to volume ratio |
Definition at line 4368 of file SCOLPhysics.cpp.
int SO3BodySetForce | ( | mmachine | m | ) |
SO3BodySetForce : Set a force to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Force |
Definition at line 2899 of file SCOLPhysics.cpp.
int SO3BodySetFreeze | ( | mmachine | m | ) |
SO3BodySetFreeze : Set a body to freeze state.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : freeze state |
Definition at line 4980 of file SCOLPhysics.cpp.
int SO3BodySetGravityEnable | ( | mmachine | m | ) |
SO3BodySetGravityEnable : Set a body to freeze state.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : freez state |
Definition at line 5141 of file SCOLPhysics.cpp.
int SO3BodySetIgnoreCollision | ( | mmachine | m | ) |
SO3BodySetIgnoreCollision : Define if a body must be ignored when a collision occure.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : 1 to ignore 0 otherwise |
Definition at line 4180 of file SCOLPhysics.cpp.
int SO3BodySetInitialState | ( | mmachine | m | ) |
SO3BodySetInitialState : Set the current PRS as initial PRS to this body.
Prototype: fun [SO3_SCENE] I
SO3_BODY | : current body |
Definition at line 937 of file SCOLPhysics.cpp.
int SO3BodySetLinearDamping | ( | mmachine | m | ) |
SO3BodySetLinearDamping : defines linear damping of a body.
Prototype: fun [SO3_PHYSICBODY F] I
SO3_PHYSICBODY | : current body |
F | : Linear damping coeffcient |
Definition at line 4069 of file SCOLPhysics.cpp.
int SO3BodySetMass | ( | mmachine | m | ) |
SO3BodySetMass : Set a mass to a body.
Prototype: fun [SO3_PHYSICBODY F] I
SO3_PHYSICBODY | : current body |
F | : mass value |
Definition at line 2785 of file SCOLPhysics.cpp.
int SO3BodySetMassMatrix | ( | mmachine | m | ) |
SO3BodySetMassMatrix : defines mass matrix of a body.
Prototype: fun [SO3_PHYSICBODY F [F F F]] I
SO3_PHYSICBODY | : current body |
F | : mass value |
[F | F F] : Center of Mass (vector) |
Definition at line 3932 of file SCOLPhysics.cpp.
int SO3BodySetMaterial | ( | mmachine | m | ) |
SO3BodySetMaterial : Set a material for a body.
Prototype: fun [SO3_PHYSICBODY SO3_PHYSICMATERIAL] I
SO3_PHYSICBODY | : current node |
SO3_PHYSICMATERIAL | : given material |
Definition at line 7738 of file SCOLPhysics.cpp.
int SO3BodySetOmega | ( | mmachine | m | ) |
SO3BodySetOmega : Set an omega to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Omega |
Definition at line 3511 of file SCOLPhysics.cpp.
int SO3BodySetPositionOrientation | ( | mmachine | m | ) |
SO3BodySetPositionOrientation : Set Position/Orientation of a body DO NOT USE.
Prototype: fun [SO3_PHYSICBODY [F F F] [F F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Position (vector) |
[F | F F F] : orientation (quaternion) |
Definition at line 3789 of file SCOLPhysics.cpp.
int SO3BodySetSimulation | ( | mmachine | m | ) |
SO3BodySetSimulation : Enable or disable a body simulation.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : state |
Definition at line 5060 of file SCOLPhysics.cpp.
int SO3BodySetTorque | ( | mmachine | m | ) |
SO3BodySetTorque : Set a torque to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Torque |
Definition at line 3463 of file SCOLPhysics.cpp.
int SO3BodySetType | ( | mmachine | m | ) |
SO3BodySetType : Defines a user type of body.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : Given type |
Definition at line 4145 of file SCOLPhysics.cpp.
int SO3BodySetVelocity | ( | mmachine | m | ) |
SO3BodySetVelocity : Set a velocity to a body.
Prototype: fun [SO3_PHYSICBODY [F F F]] I
SO3_PHYSICBODY | : current body |
[F | F F] : Velocity |
Definition at line 3559 of file SCOLPhysics.cpp.
int SO3BodyShowDebug | ( | mmachine | m | ) |
SO3BodyShowDebug : Set the body shape visible state.
Prototype: fun [SO3_PHYSICBODY I] I
SO3_PHYSICBODY | : current body |
I | : 1 to show the debug, 0 to hide |
Definition at line 5286 of file SCOLPhysics.cpp.
int SO3PhysicsContraintAddVehicleTire | ( | mmachine | m | ) |
SO3PhysicsContraintAddVehicleTire : Add a physic vehicle contraint tire.
Prototype: fun [SO3_PHYSICCONTRAINT SO3_OBJECT F F F F F F F I I] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
SO3_OBJECT | : tire node |
F | : tire mass |
F | : tire radius |
F | : tire width |
F | : tire friction |
F | : tire suspension length |
F | : tire suspension spring |
F | : tire suspension shock |
I | : directional tire (1 to enable, 0 or nil otherwise) |
I | : driving tire (1 to enable, 0 or nil otherwise) |
Definition at line 7342 of file SCOLPhysics.cpp.
int SO3PhysicsContraintCreateBallAndSocket | ( | mmachine | m | ) |
SO3PhysicsContraintCreateBallAndSocket : Create a physic ball and socket contraint.
Prototype: fun [SO3_SCENE SO3_PHYSICBODY SO3_PHYSICBODY [F F F] I] SO3_PHYSICCONTRAINT
SO3_SCENE | : current scene |
SO3_PHYSICBODY | : son body |
SO3_PHYSICBODY | : parent body (can be nil) |
[F | F F] : contraint position in world (for initialization) |
I | : 1 to use the angles limits 0 or nil otherwise |
Definition at line 5804 of file SCOLPhysics.cpp.
int SO3PhysicsContraintCreateHinge | ( | mmachine | m | ) |
SO3PhysicsContraintCreateHinge : Create a hinge contraint.
Prototype: fun [SO3_SCENE SO3_PHYSICBODY SO3_PHYSICBODY [F F F] [F F F] I] SO3_PHYSICCONTRAINT
SO3_SCENE | : current scene |
SO3_PHYSICBODY | : son body |
SO3_PHYSICBODY | : parent body (can be nil) |
[F | F F] : contraint position in world (for initialization) |
[F | F F] : contraint direction in world (for initialization) |
I | : 1 to use the angles limits 0 or nil otherwise |
Definition at line 6301 of file SCOLPhysics.cpp.
int SO3PhysicsContraintCreateSlider | ( | mmachine | m | ) |
SO3PhysicsContraintCreateSlider : Create a slider contraint.
Prototype: fun [SO3_SCENE SO3_PHYSICBODY SO3_PHYSICBODY [F F F] [F F F] I I] SO3_PHYSICCONTRAINT
SO3_SCENE | : current scene |
SO3_PHYSICBODY | : son body |
SO3_PHYSICBODY | : parent body (can be nil) |
[F | F F] : contraint position in world (for initialization) |
[F | F F] : contraint direction in world (for initialization) |
I | : 1 to use the distance limits, 0 or nil otherwise |
I | : 1 to use the spring parameters, 0 or nil otherwise |
Definition at line 6822 of file SCOLPhysics.cpp.
int SO3PhysicsContraintCreateVehicle | ( | mmachine | m | ) |
SO3PhysicsContraintCreateVehicle : Create a vehicle contraint.
Prototype: fun [SO3_SCENE SO3_PHYSICBODY] SO3_PHYSICCONTRAINT
SO3_SCENE | : current scene |
SO3_PHYSICBODY | : car body |
Definition at line 7275 of file SCOLPhysics.cpp.
int SO3PhysicsContraintDestroy | ( | mmachine | m | ) |
SO3PhysicsContraintDestroy : Destroy a physic contraint.
Prototype: fun [SO3_PHYSICCONTRAINT] I
SO3_PHYSICCONTRAINT | : current contraint |
Definition at line 5618 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetBallAndSocketAngle | ( | mmachine | m | ) |
SO3PhysicsContraintGetBallAndSocketAngle : Get a physic ball and socket contraint angle.
Prototype: fun [SO3_PHYSICCONTRAINT] [F F F]
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
Definition at line 6158 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetBallAndSocketForce | ( | mmachine | m | ) |
SO3PhysicsContraintGetBallAndSocketForce : Get a physic ball and socket contraint force.
Prototype: fun [SO3_PHYSICCONTRAINT] [F F F]
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
Definition at line 6250 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetBallAndSocketOmega | ( | mmachine | m | ) |
SO3PhysicsContraintGetBallAndSocketOmega : Get a physic ball and socket contraint omega.
Prototype: fun [SO3_PHYSICCONTRAINT] [F F F]
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
Definition at line 6204 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetCollisionState | ( | mmachine | m | ) |
SO3PhysicsContraintGetCollisionState : Get a physic contraint collision state between the son and the parent body.
Prototype: fun [SO3_PHYSICCONTRAINT] I
SO3_PHYSICCONTRAINT | : contraint |
Definition at line 5687 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetHingeAngle | ( | mmachine | m | ) |
SO3PhysicsContraintGetHingeAngle : Get a physic hinge contraint angle.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Hinge contraint |
Definition at line 6399 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetHingeForce | ( | mmachine | m | ) |
SO3PhysicsContraintGetHingeForce : Get a physic hinge contraint force.
Prototype: fun [SO3_PHYSICCONTRAINT] [F F F]
SO3_PHYSICCONTRAINT | : Hinge contraint |
Definition at line 6471 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetHingeOmega | ( | mmachine | m | ) |
SO3PhysicsContraintGetHingeOmega : Get a physic hinge contraint omega.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Hinge contraint |
Definition at line 6435 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetSliderForce | ( | mmachine | m | ) |
SO3PhysicsContraintGetSliderForce : Get a physic slider contraint force.
Prototype: fun [SO3_PHYSICCONTRAINT] [F F F]
SO3_PHYSICCONTRAINT | : Slider contraint |
Definition at line 6963 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetSliderPosition | ( | mmachine | m | ) |
SO3PhysicsContraintGetSliderPosition : Get a physic slider contraint position.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Slider contraint |
Definition at line 7009 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetSliderVelocity | ( | mmachine | m | ) |
SO3PhysicsContraintGetSliderVelocity : Get a physic hinge contraint velocity.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Slider contraint |
Definition at line 6927 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetStiffness | ( | mmachine | m | ) |
SO3PhysicsContraintGetStiffness : Get a physic contraint stiffness value.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : contraint |
Definition at line 5764 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetVehicleOnAir | ( | mmachine | m | ) |
SO3PhysicsContraintGetVehicleOnAir : Get if a physic vehicle contraint has tires on the ground.
Prototype: fun [SO3_PHYSICCONTRAINT] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
Definition at line 7593 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetVehicleSpeed | ( | mmachine | m | ) |
SO3PhysicsContraintGetVehicleSpeed : Get a physic vehicle contraint speed.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Vehicle contraint |
Definition at line 7431 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetVehicleTireAngularVelocity | ( | mmachine | m | ) |
SO3PhysicsContraintGetVehicleTireAngularVelocity : Get a physic vehicle contraint tire angular velocity.
Prototype: fun [SO3_PHYSICCONTRAINT] F
SO3_PHYSICCONTRAINT | : Vehicle contraint |
SO3_OBJECT | : Object used for the tire |
Definition at line 7628 of file SCOLPhysics.cpp.
int SO3PhysicsContraintGetVehicleTireOnAir | ( | mmachine | m | ) |
SO3PhysicsContraintGetVehicleTireOnAir : Get a physic vehicle contraint tire on air state.
Prototype: fun [SO3_PHYSICCONTRAINT] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
SO3_OBJECT | : Object used for the tire |
Definition at line 7671 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketAngularVelocity | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketAngularVelocity : Set a physic ball and socket contraint angular velocity The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
f | : angular speed |
Definition at line 5988 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketControlled | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketControlled : Set a physic ball and socket contraint controlled mode.
Prototype: fun [SO3_PHYSICCONTRAINT I] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
I | : 1 to enable control 0 to disable |
Definition at line 5945 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketLimits | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketLimits : Set a physic ball and socket contraint cone limits.
Prototype: fun [SO3_PHYSICCONTRAINT F F F] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
F | : max cone (radian) |
F | : min twist (radian) |
F | : max twist (radian) |
Definition at line 5893 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketPitchAngle | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketPitchAngle : Set a physic ball and socket contraint Pitch angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
f | : angle in radian |
Definition at line 6074 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketRollAngle | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketRollAngle : Set a physic ball and socket contraint Roll angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
f | : angle in radian |
Definition at line 6117 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetBallAndSocketYawAngle | ( | mmachine | m | ) |
SO3PhysicsContraintSetBallAndSocketYawAngle : Set a physic ball and socket contraint Yaw angle The contraint must be setted controlled enable using SO3PhysicsContraintSetBallAndSocketControlled.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Ball and socket contraint |
f | : angle in radian |
Definition at line 6031 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetCollisionState | ( | mmachine | m | ) |
SO3PhysicsContraintSetCollisionState : Set a physic contraint collision state between the son and the parent body.
Prototype: fun [SO3_PHYSICCONTRAINT I] I
SO3_PHYSICCONTRAINT | : contraint |
I | : state 1 to enable |
Definition at line 5647 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeBrake | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeBrake : Set a physic hinge contraint brake.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
F | : Force value, 0 infinite force, -1 stop brake, > 0 force to brake |
Definition at line 6733 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeLimits | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeLimits : Set a physic hinge contraint angle limits.
Prototype: fun [SO3_PHYSICCONTRAINT F F] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
F | : min angle (radian) |
F | : max angle (radian) |
Definition at line 6542 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeMotorAngle | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeMotorAngle : Set a physic hinge contraint to an angle.
Prototype: fun [SO3_PHYSICCONTRAINT F F F] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
F | : angle (radian) |
F | : minimum friction |
F | : maximum friction |
Definition at line 6590 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeMotorEnable | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeMotorEnable : set a physic hinge contraint motor state.
Prototype: fun [SO3_PHYSICCONTRAINT I] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
I | : State 1 to enable 0 or nil to disable |
Definition at line 6775 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeMotorOmega | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeMotorOmega : Set a physic hinge contraint omega.
Prototype: fun [SO3_PHYSICCONTRAINT F F] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
F | : omega (radian) |
F | : strength 0 to 1 |
Definition at line 6642 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetHingeTorque | ( | mmachine | m | ) |
SO3PhysicsContraintSetHingeTorque : Set a physic hinge contraint torque.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Hinge contraint |
F | : Torque |
Definition at line 6692 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetSliderFriction | ( | mmachine | m | ) |
SO3PhysicsContraintSetSliderFriction : Set a physic slider contraint friction.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Slider contraint |
F | : Friction |
Definition at line 7142 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetSliderLimits | ( | mmachine | m | ) |
SO3PhysicsContraintSetSliderLimits : Set a physic slider contraint distance limits.
Prototype: fun [SO3_PHYSICCONTRAINT F F] I
SO3_PHYSICCONTRAINT | : Slider contraint |
F | : min distance |
F | : max distance |
Definition at line 7047 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetSliderMotorEnable | ( | mmachine | m | ) |
SO3PhysicsContraintSetSliderMotorEnable : set a physic slider contraint motor state.
Prototype: fun [SO3_PHYSICCONTRAINT I] I
SO3_PHYSICCONTRAINT | : Slider contraint |
I | : State 1 to enable 0 or nil to disable |
Definition at line 7183 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetSliderMotorVelocity | ( | mmachine | m | ) |
SO3PhysicsContraintSetSliderMotorVelocity : Set a physic slider contraint velocity.
Prototype: fun [SO3_PHYSICCONTRAINT F F] I
SO3_PHYSICCONTRAINT | : Slider contraint |
F | : velocity |
F | : strength 0 to 1 |
Definition at line 7225 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetSliderSpring | ( | mmachine | m | ) |
SO3PhysicsContraintSetSliderSpring : Set a physic slider contraint spring setting.
Prototype: fun [SO3_PHYSICCONTRAINT F F] I
SO3_PHYSICCONTRAINT | : Slider contraint |
F | : Spring strength |
F | : Spring damping |
Definition at line 7095 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetStiffness | ( | mmachine | m | ) |
SO3PhysicsContraintSetStiffness : Set a physic contraint stiffness value.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : contraint |
F | : Stiffness value from 0 to 1 |
Definition at line 5724 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetVehicleBrake | ( | mmachine | m | ) |
SO3PhysicsContraintSetVehicleBrake : Set a physic vehicle contraint brake.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
F | : brake torque (0.0 none) |
Definition at line 7552 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetVehicleDrivingTorque | ( | mmachine | m | ) |
SO3PhysicsContraintSetVehicleDrivingTorque : Set a physic vehicle contraint driving torque.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
F | : torque in radian |
Definition at line 7510 of file SCOLPhysics.cpp.
int SO3PhysicsContraintSetVehicleSteerAngle | ( | mmachine | m | ) |
SO3PhysicsContraintSetVehicleSteerAngle : Set a physic vehicle contraint steer angle.
Prototype: fun [SO3_PHYSICCONTRAINT F] I
SO3_PHYSICCONTRAINT | : Vehicle contraint |
F | : Angle in radian |
Definition at line 7468 of file SCOLPhysics.cpp.
int SO3PhysicsGetMaterial | ( | mmachine | m | ) |
SO3PhysicsGetMaterial : return a material Physics by its name.
Prototype: fun [SO3_SCENE S] SO3_PHYSICMATERIAL
SO3_SCENE | : current scene |
S | : given name |
Definition at line 7944 of file SCOLPhysics.cpp.
int SO3PhysicsGetMaterialName | ( | mmachine | m | ) |
SO3PhysicsGetMaterialName : return the name of a Physics material.
Prototype: fun [SO3_PHYSICMATERIAL] S
SO3_PHYSICMATERIAL | : the physic material |
Definition at line 8012 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialCreate | ( | mmachine | m | ) |
SO3PhysicsMaterialCreate : Create a new Physic Material ID.
Prototype: fun [SO3_SCENE S] SO3_PHYSICMATERIAL
SO3_SCENE | : current scene |
S | : given name |
Definition at line 7831 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialDestroy | ( | mmachine | m | ) |
SO3PhysicsMaterialDestroy : Destroy a Physic Material ID.
Prototype: fun [SO3_PHYSICMATERIAL] I
SO3_PHYSICMATERIAL | : current material Physic ID |
Definition at line 7911 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetContiniousCollisionMode | ( | mmachine | m | ) |
SO3PhysicsMaterialSetContiniousCollisionMode : do nothing deprecated.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL I] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
I | : Default continuous collision |
Definition at line 8334 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetDefaultCollidable | ( | mmachine | m | ) |
SO3PhysicsMaterialSetDefaultCollidable : defines Default Collidable state between two physics material.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL I] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
I | : Default Collidable |
Definition at line 8274 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetDefaultElasticity | ( | mmachine | m | ) |
SO3PhysicsMaterialSetDefaultElasticity : defines Default elasticity between two physics material.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL F] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
F | : Default elasticity coefficent |
Definition at line 8104 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetDefaultFriction | ( | mmachine | m | ) |
SO3PhysicsMaterialSetDefaultFriction : defines Default friction between two physics material.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL F F] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
F | : friction coefficent |
F | : kinetic coefficent |
Definition at line 8166 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetDefaultSoftness | ( | mmachine | m | ) |
SO3PhysicsMaterialSetDefaultSoftness : defines Default softness between two physics material.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL F] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
F | : Default softness coefficent |
Definition at line 8220 of file SCOLPhysics.cpp.
int SO3PhysicsMaterialSetSurfaceThickness | ( | mmachine | m | ) |
SO3PhysicsMaterialSetSurfaceThickness : defines Surface thickness between two physics material.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL F] I
SO3_PHYSICMATERIAL | : given material ID1 |
SO3_PHYSICMATERIAL | : given material ID2 |
F | : Surface thickness coefficent |
Definition at line 8048 of file SCOLPhysics.cpp.
int SO3PhysicsRayCast | ( | mmachine | m | ) |
SO3PhysicsRayCast : send a raycast and return the distance.
Prototype: fun [SO3_SCENE [F F F] [F F F] F] [SO3_PHYSICBODY F [F F F]]
SO3_SCENE | : current scene |
[F | F F] : source position in global space |
[F | F F] : directional vector |
F | : maximum distance of ray |
Definition at line 5377 of file SCOLPhysics.cpp.
int SO3PhysicsRayCastExt | ( | mmachine | m | ) |
SO3PhysicsRayCastExt : send a raycast all the hit bodies.
Prototype: fun [SO3_SCENE [F F F] [F F F] F] [[SO3_PHYSICBODY F [F F F]] r1]
SO3_SCENE | : current scene |
[F | F F] : source position in global space |
[F | F F] : directional vector |
F | : maximum distance of ray |
Definition at line 5496 of file SCOLPhysics.cpp.
int SO3SceneNodeGetBody | ( | mmachine | m | ) |
SO3SceneNodeGetBody : Get the body attached to a node.
Prototype: fun [SO3_OBJECT] SO3_PHYSICBODY
SO3_OBJECT | : current node |
Definition at line 5325 of file SCOLPhysics.cpp.
int SO3WorldApplyImpulsePoint | ( | mmachine | m | ) |
SO3WorldApplyImpulsePoint : Apply an impulsion on bodies in the point area.
!
Prototype : < / b> fun[SO3_SCENE [F F F] F F] I
SO3_SCENE | : current scene |
[F | F F] : world position |
F | : radius |
F | : strength |
Definition at line 8358 of file SCOLPhysics.cpp.
int SO3WorldGetEnabled | ( | mmachine | m | ) |
SO3WorldGetEnabled : Return the enable state of the physic world.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 815 of file SCOLPhysics.cpp.
int SO3WorldGetFPS | ( | mmachine | m | ) |
SO3WorldGetFPS : retrieve the FPS for physic world.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 389 of file SCOLPhysics.cpp.
int SO3WorldGetFrictionModel | ( | mmachine | m | ) |
SO3WorldGetFrictionModel : This function gets the friction model for the world ! Deprecated !
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 519 of file SCOLPhysics.cpp.
int SO3WorldGetGravity | ( | mmachine | m | ) |
SO3WorldGetGravity : get the gravity of the scene.
Prototype: fun [SO3_SCENE] [F F F]
SO3_SCENE | : current scene |
Definition at line 1070 of file SCOLPhysics.cpp.
int SO3WorldGetPlateformArchitecture | ( | mmachine | m | ) |
SO3WorldGetPlateformArchitecture : This function gets the platform architecture for the world ! Deprecated !
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
For Platform architecture, values are :
Definition at line 609 of file SCOLPhysics.cpp.
int SO3WorldGetSolverModel | ( | mmachine | m | ) |
SO3WorldGetSolverModel : This function gets the solver model of the world.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
For Solver model, values are :
Definition at line 722 of file SCOLPhysics.cpp.
int SO3WorldReset | ( | mmachine | m | ) |
SO3WorldReset : Reset the physic world and all bodies states.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 857 of file SCOLPhysics.cpp.
int SO3WorldSetBodiesInitialState | ( | mmachine | m | ) |
SO3WorldSetBodiesInitialState : Set the current PRS as initial PRS to all bodies.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 897 of file SCOLPhysics.cpp.
int SO3WorldSetEnabled | ( | mmachine | m | ) |
SO3WorldSetEnabled : Activate or Deactivate the physic world.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : boolean (1 true, 0 false) |
Definition at line 761 of file SCOLPhysics.cpp.
int SO3WorldSetFPS | ( | mmachine | m | ) |
SO3WorldSetFPS : defines FPS for physic world.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : FPS |
Definition at line 337 of file SCOLPhysics.cpp.
int SO3WorldSetFrictionModel | ( | mmachine | m | ) |
SO3WorldSetFrictionModel : This function sets the friction model for the world ! Deprecated !
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : flag for the friction model |
For friction model, values are :
Definition at line 494 of file SCOLPhysics.cpp.
int SO3WorldSetGravity | ( | mmachine | m | ) |
SO3WorldSetGravity : defines gravity for the scene.
Prototype: fun [SO3_SCENE [F F F]] I
SO3_SCENE | : current scene |
[F | F F] : Gravity vector |
Definition at line 1018 of file SCOLPhysics.cpp.
int SO3WorldSetPlateformArchitecture | ( | mmachine | m | ) |
SO3WorldSetPlateformArchitecture : This function sets the platform architecture for the world ! Deprecated !
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : Platform architecture flag |
For Platform architecture, values are :
Definition at line 545 of file SCOLPhysics.cpp.
int SO3WorldSetSize | ( | mmachine | m | ) |
SO3WorldSetSize : function to defines world size.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 428 of file SCOLPhysics.cpp.
int SO3WorldSetSolverModel | ( | mmachine | m | ) |
SO3WorldSetSolverModel : This function sets thesolver model for the world.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : Solver model flag |
For Solver model, values are :
Definition at line 662 of file SCOLPhysics.cpp.
int SO3WorldShowLines | ( | mmachine | m | ) |
SO3WorldShowLines : Return true if world shows its debug calculation lines.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : boolean for show lines (1 enable, 0 disable) |
Definition at line 972 of file SCOLPhysics.cpp.