Hello,
I just updated from 0.14 to 0.15.2 and I'm having a problem I can't figure out...
My objects are not falling towards the ground. I set the gravity like in the samples, Update() is called just fine because when I set an initial velocity to my objects, they indeed move in that direction.
It just feels like gravity, or any other forces that I apply are not impacting the bodies...
Any ideas?
Thanks!
Matt
Objects not falling...
Re: Objects not falling...
I found out what the problem was, there was no mass set on my compound body. I assumed that the weight of the sub bodies would be added to the main body.
However, I still have a problem... the compound body is added to a vehicle, and for some reason I don't see any change in the object position...
I see that the body has a linear velocity, but it never seems to impact the position/transform of the vehicle body...
Help
--
Matt
However, I still have a problem... the compound body is added to a vehicle, and for some reason I don't see any change in the object position...
I see that the body has a linear velocity, but it never seems to impact the position/transform of the vehicle body...
Help

--
Matt
Re: Objects not falling...
If the entity does not belong to a space, then it cannot update. Even if you apply a linear velocity, it won't be integrated into a position change until after space.Update occurs with the entity in the space. If it is in the space, then I'm not sure; I'll probably need more details.
Re: Objects not falling...
Duh... I guess the line that adds the vehicle to the space was removed when I ported over to 0.15.2 
Thanks a lot for the help!
--
Matt

Thanks a lot for the help!

--
Matt