BodyChanges
BodyChanges =
Partial<Omit<KinematicBodyOptions,"bodyType"|"collisionMask"|"motion"|"display"> &Omit<DynamicBodyOptions,"bodyType"|"collisionMask">> &object
What setBody changes: any of a body’s settings, its kind among them.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
bodyType? |
RigidBodyType | `${RigidBodyType}` |
- |
collisionMask? |
CollisionMask | null |
Null meets every layer again. |
display? |
Display | `${Display}` | DisplaySettings | null |
Null draws its flight at the page’s own tick again. |
motion? |
BodyMotion | null |
Null drives it by setNextPose again, with its display. |