static tag - tiagodinis/GParticles GitHub Wiki

Description: Tag that contains the definition of a static collider, one that enver changes positions during the processing of events.

Currently, the only supported collider primitives are spheres and planes. Spheres are defined by their position and a radius (w component), while planes are defined by their normal vector and distance to the origin (w component), following this plane equation.

Parent tag: colliders

Child tags: none

attribute type description
type string the collider type (sphere, plane)
x float the collider x component
y float the collider y component
z float the collider z component
w float the collider w component

Examples:

1)	<static type="sphere" x=-3 y=-2 z=0 w=1 />


2)	<static type="plane" x=0 y=1 z=0 w=3 />