Remove the uninitialized child link in the example

This commit is contained in:
WenlongLu 2020-11-11 14:12:47 -08:00
parent 622b44d136
commit 5a1977b176

View File

@ -94,7 +94,7 @@ void KinematicMultiBodyExample::initPhysics()
{
bool floating = false;
int numLinks = 1;
int numLinks = 0;
bool canSleep = false;
btVector3 baseInertiaDiag(0.f, 0.f, 0.f);
float baseMass = 1.f;