mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
Remove the uninitialized child link in the example
This commit is contained in:
parent
622b44d136
commit
5a1977b176
@ -94,7 +94,7 @@ void KinematicMultiBodyExample::initPhysics()
|
|||||||
|
|
||||||
{
|
{
|
||||||
bool floating = false;
|
bool floating = false;
|
||||||
int numLinks = 1;
|
int numLinks = 0;
|
||||||
bool canSleep = false;
|
bool canSleep = false;
|
||||||
btVector3 baseInertiaDiag(0.f, 0.f, 0.f);
|
btVector3 baseInertiaDiag(0.f, 0.f, 0.f);
|
||||||
float baseMass = 1.f;
|
float baseMass = 1.f;
|
||||||
|
Loading…
Reference in New Issue
Block a user