Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 725 Bytes

rigidbody.md

File metadata and controls

30 lines (17 loc) · 725 Bytes

Rigidbody

from tdw.object_data.rigidbody import Rigidbody

Dynamic object rigidbody data. Note that this excludes static rigidbody data such as the mass of the object.


Fields

  • velocity The directional velocity of the object.

  • angular_velocity The angular velocity of the object.

  • sleeping If True, the object isn't moving.


Functions

__init__

Rigidbody(velocity, angular_velocity, sleeping)

Parameter Type Default Description
velocity np.ndarray The directional velocity of the object.
angular_velocity np.ndarray The angular velocity of the object.
sleeping bool If True, the object isn't moving.