aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-16 16:43:02 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-16 16:43:02 +0100
commit387bf02833c610f93326bf743db463eea8032a62 (patch)
treea25440f7d42d92f47e6df0a97abb9c97f82e3021 /src/crepe/api
parent876896e50711509e80ef551b4e8ad440e8039b97 (diff)
added collision features
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Rigidbody.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h
index b08c8db..8169f0c 100644
--- a/src/crepe/api/Rigidbody.h
+++ b/src/crepe/api/Rigidbody.h
@@ -132,6 +132,9 @@ public:
*/
vec2 offset;
+ //! Enable collision handeling in collision system
+ bool kinematic_collision = true;
+
/**
* \brief Defines the collision layers of a GameObject.
*