Physics¶
Overview on the subject of physics at physics help
name: Physics
documentation:
Settings that define the physics behaviour of an element
choice: The following element types can be used in conjunction with this element
maxOccurs: unbounded
minOccurs: 0
element
type: imml:Interaction
name: Interaction
attribute
name: Enabled
type: imml:Boolean
use: optional
documentation:
When true, requires the parent element to be included in the physics engine operations
attribute
name: Weight
type: xs:float
use: optional
documentation:
Weight of the element in kilograms
attribute
name: Movable
type: imml:Boolean
use: optional
default: True
documentation:
When true, the physics engine should allow the body that represents this element to move
attribute
name: Bounding
type: imml:BoundingType
use: optional
default: ConvexHull
documentation:
The style of physics bounding to use. Performance and interaction requirements should be taken into account when selecting a bounding type. By default, the BoundingType will wrap as closely as possible to the element's bounds.
attribute
name: Centre
type: imml:Vector3
use: optional
documentation:
The centre of mass the element should have.