summaryrefslogtreecommitdiff
path: root/modules/bullet/constraint_bullet.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bullet/constraint_bullet.h')
-rw-r--r--modules/bullet/constraint_bullet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/bullet/constraint_bullet.h b/modules/bullet/constraint_bullet.h
index 1946807bad..125940439f 100644
--- a/modules/bullet/constraint_bullet.h
+++ b/modules/bullet/constraint_bullet.h
@@ -47,9 +47,9 @@ class btTypedConstraint;
class ConstraintBullet : public RIDBullet {
protected:
- SpaceBullet *space;
- btTypedConstraint *constraint;
- bool disabled_collisions_between_bodies;
+ SpaceBullet *space = nullptr;
+ btTypedConstraint *constraint = nullptr;
+ bool disabled_collisions_between_bodies = true;
public:
ConstraintBullet();