diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-03 19:44:01 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-03 19:44:01 +0100 |
commit | 9416841ad776d9117bc3b12ee3ceb9a8c7af4c73 (patch) | |
tree | 6722635aed416b481f7030f26d27adb280a77596 /src/crepe/api/Rigidbody.h | |
parent | ff618da3f97237796042fa3664da59ed147bc1da (diff) |
removed part of if
Diffstat (limited to 'src/crepe/api/Rigidbody.h')
-rw-r--r-- | src/crepe/api/Rigidbody.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h index 9cdf3f5..14b183b 100644 --- a/src/crepe/api/Rigidbody.h +++ b/src/crepe/api/Rigidbody.h @@ -109,8 +109,8 @@ public: * * \{ */ - //! Angular velocity of the object, representing the rate of rotation (in radians per second). - float angular_velocity = 1; + //! Angular velocity of the object, representing the rate of rotation (in degrees). + float angular_velocity = 0; //! Maximum angular velocity of the object. This limits the maximum rate of rotation. float max_angular_velocity = INFINITY; //! Angular velocity coefficient. This scales the object's angular velocity, typically used for damping. |