PhysicsSetWorldDimensions
Physics
PhysicsSetWorldDimensions Reference
#include "TrueAxis.bi"
Description
- Call this function to set the position and size of the world that the physics simulation will run in.
- This may affect the speed and memory usage of culling algorithms.
- The size of the world should be made only as big as necessary. (default are 2000m x 2000m x 2000m)
- Note:
- Any changes to this value will not be made effective until a call to :PhysicsSetupSimulation.
- Note that PhysicsSetupSimulation is automatically called from PhysicsUpdate, :PhysicsAddDynamicObject and :PhysicsAddStaticObject.
- Calling PhysicsSetupSimulation may result memory reallocation and large processor overhead.
- Changing this value frequently will result in performance loss.
- Functions:
- declare sub PhysicsSetWorldDimensions(byval centerX as single, byval centerY as single, byval centerZ as single, _
- byval width_ as single, byval height as single, byval depth as single)
- declare sub PhysicsV3SetWorldDimensions(byref v3Center as const TA_Vec3, byref v3Dimension as const TA_Vec3)
- declare sub PhysicsAABBSetWorldDimensions(byref aabb as const TA_AABB)
Copyright © 2015
Created with the Freeware Edition of HelpNDoc: Easily create Web Help sites