diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-17 18:45:46 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-17 18:45:46 +0100 |
commit | b1c82f914f18457f9a30791b01896ea40832c2d3 (patch) | |
tree | 6c70f8336fb408f05a7e1816369008a2954065d0 /src/crepe/api | |
parent | 9885c58817912125506de3b3555f3dc6206e0e6a (diff) |
bounce
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Rigidbody.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h index a45623f..b55297c 100644 --- a/src/crepe/api/Rigidbody.h +++ b/src/crepe/api/Rigidbody.h @@ -76,6 +76,8 @@ public: bool use_gravity = true; //! if object bounces bool bounce = false; + //! bounce factor of material + double bouncie_factor = 0.0; //! offset of all colliders Vector2 offset; }; |