Open Dev Kit Documentation :: Game :: Physics
Game.PhysicsManages physics simulation within the game world
Functions
- Register Object ( Object Object* )
- Registers a game object with the physics simulation
- Unregister Object ( Object Object* )
- Unregisters a game object from the physics simulation
- Step ( )
- Advances the physics simulation by one step
- Is Locked ( ) Boolean
- Checks if the physics simulation is currently locked for updates
- Set Gravity ( Velocity 3D Vector )
- Sets the gravity affecting the physics simulation
- Get Gravity ( ) 3D Vector
- Gets the gravity affecting the physics simulation
- Set Position ( Object Object*, Position 3D Vector )
- Sets the position of a game object in the physics simulation
- Get Position ( Object Object* ) 3D Vector
- Gets the position of a game object in the physics simulation
- Set Scale ( Object Object*, Scale 3D Vector )
- Sets the scale of a game object in the physics simulation
- Get Scale ( Object Object* ) 3D Vector
- Gets the scale of a game object in the physics simulation
- Set Orientation ( Object Object*, Orientation 4D Vector (Quaternion) )
- Sets the orientation of a game object in the physics simulation
- Get Orientation ( Object Object* ) 4D Vector (Quaternion)
- Gets the orientation of a game object in the physics simulation
- Set Velocity ( Object Object*, Velocity 3D Vector )
- Sets the velocity of a game object in the physics simulation
- Get Velocity ( Object Object* ) 3D Vector
- Gets the velocity of a game object in the physics simulation
- Set Angular Velocity ( Object Object*, Angular Velocity 3D Vector )
- Sets the angular velocity of a game object in the physics simulation
- Get Angular Velocity ( Object Object* ) 3D Vector
- Gets the angular velocity of a game object in the physics simulation
- Set Physics Type ( Object Object*, Physics Type Physics Type )
- Sets the physics type of a game object in the physics simulation
- Set Physics Property ( Property Physics Queued, Object Object* )
- Sets a physics property of a game object in the physics simulation
- Move ( Object Object*, Position 3D Vector, Orientation 4D Vector (Quaternion), Time Float )
- Moves to a position over a certain period of time of a game object in the physics simulation
- Draw Debug ( Render Context Render Context* )
- Draws debug information for the physics simulation
Properties
- Scene Scene'
- scene associated with the physics manager
- Updating Boolean
- whether physics simulation is currently being updated
If you think anything is missing, please feel free to: submit documentation feedback on this page
