Fix uninitialized inertia value in Body2DSW

This commit is contained in:
Andrii Doroshenko (Xrayez) 2019-08-23 20:13:05 +03:00
parent 791d7f78b5
commit 718f09ad20

View File

@ -671,6 +671,7 @@ Body2DSW::Body2DSW() :
angular_velocity = 0;
biased_angular_velocity = 0;
mass = 1;
inertia = 0;
user_inertia = false;
_inv_inertia = 0;
_inv_mass = 1;