diff --git a/sources/reactphysics3d/constraint/Constraint.cpp b/sources/reactphysics3d/constraint/Constraint.cpp index d3a7d09a..8bd5dbec 100644 --- a/sources/reactphysics3d/constraint/Constraint.cpp +++ b/sources/reactphysics3d/constraint/Constraint.cpp @@ -25,7 +25,7 @@ using namespace reactphysics3d; // Constructor Constraint::Constraint(Body* const body1, Body* const body2) - :body1(body1), body2(body2) { + :body1(body1), body2(body2), active(true) { }