aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Rigidbody.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h
index b08c8db..8566d00 100644
--- a/src/crepe/api/Rigidbody.h
+++ b/src/crepe/api/Rigidbody.h
@@ -122,15 +122,8 @@ public:
*/
float elastisity_coefficient = 0.0;
- /**
- * \brief Offset of all colliders relative to the object's transform position.
- *
- * The `offset` defines a positional shift applied to all colliders associated with the object, relative to the object's
- * transform position. This allows for the colliders to be placed at a different position than the object's actual
- * position, without modifying the object's transform itself.
- *
- */
- vec2 offset;
+ //! Enable collision handeling in collision system
+ bool kinematic_collision = true;
/**
* \brief Defines the collision layers of a GameObject.