aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 21:38:58 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 21:38:58 +0100
commit47dd27c42f375b65ee53f8b1e8c1b25327315a92 (patch)
treec3206a49e7826e4e6f8a506e0d596d58393c2d6b /src/crepe/api/Rigidbody.h
parent428182f45797de73b0bc2335916d25762b0d719b (diff)
box-box collision
Diffstat (limited to 'src/crepe/api/Rigidbody.h')
-rw-r--r--src/crepe/api/Rigidbody.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h
index 68481f4..b9edec2 100644
--- a/src/crepe/api/Rigidbody.h
+++ b/src/crepe/api/Rigidbody.h
@@ -75,6 +75,8 @@ public:
bool use_gravity = true;
//! if object bounces
bool bounce = false;
+ //! offset of all colliders
+ Vector2 offset;
};
public: