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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/bullet/constraint_bullet.h b/modules/bullet/constraint_bullet.h
index 1946807bad..538808be51 100644
--- a/modules/bullet/constraint_bullet.h
+++ b/modules/bullet/constraint_bullet.h
@@ -45,11 +45,10 @@ class SpaceBullet;
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();