JJ_WorldSettings class final

How a world is made.

Inheritance
Implemented types
Available extensions

Constructors

JJ_WorldSettings()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
collides ↔ Array<Uint32>
The collision grid: bit j of collides[i] is set when layer i collides with layer j. A pair collides only when both rows say so.
getter/setter pair
gravity ↔ Array<Float>
Gravity in m/s^2.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
maxBodies ↔ int
The most bodies the world holds; 0 picks 10240.
getter/setter pair
maxBodyPairs ↔ int
The most body pairs the broad phase may find in a step; 0 picks 65536.
getter/setter pair
maxContactConstraints ↔ int
The most contact constraints in a step; 0 picks 10240.
getter/setter pair
reportActivation ↔ bool
Whether bodies report JJ_EVENT_BODY_ACTIVATED / _DEACTIVATED.
getter/setter pair
reportContactStay ↔ bool
Whether touching pairs report JJ_EVENT_CONTACT_STAY after every step.
getter/setter pair
restitutionCombine ↔ int
How two bodies' restitutions mix into a contact's: JJ_COMBINE_*. 0 (JJ_COMBINE_DEFAULT) keeps Jolt's own rule, the bouncier of the two.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tempAllocatorBytes ↔ int
Bytes of the world's temporary allocator; 0 picks 8 MB.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited