From b1c82f914f18457f9a30791b01896ea40832c2d3 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sun, 17 Nov 2024 18:45:46 +0100 Subject: bounce --- src/crepe/api/Rigidbody.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/crepe/api/Rigidbody.h') 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; }; -- cgit v1.2.3