-
Notifications
You must be signed in to change notification settings - Fork 0
RigidBody
0880 edited this page Apr 5, 2024
·
1 revision
-
isStatic: A boolean indicating whether the rigid body is static. -
fixedRotation: A boolean indicating whether the rotation of the rigid body is fixed. -
bullet: A boolean indicating whether the rigid body is a bullet. -
userData: A string representing user data associated with the rigid body.
- Sets the awake state of the rigid body.
- Sets the position of the rigid body.
- Sets the rotation angle of the rigid body.
- Sets the position and rotation angle of the rigid body.
- Applies a force to the rigid body at a specific point.
- Applies a force to the rigid body at a specific point.
- Applies a force to the center of mass of the rigid body.
- Applies a force to the center of mass of the rigid body.
- Applies a linear impulse to the rigid body at a specific point.
- Applies a linear impulse to the rigid body at a specific point.
- Applies an angular impulse to the rigid body.
- Applies a torque to the rigid body.
- Sets the linear velocity of the rigid body.
- Sets the linear velocity of the rigid body.
- Sets the angular velocity of the rigid body.
- Returns the linear velocity of the rigid body as a Vector2.
- Returns the linear velocity of the rigid body along the x-axis.
- Returns the linear velocity of the rigid body along the y-axis.
- Returns the angular velocity of the rigid body.