Hi,
I created a model using a few box2d-bodies. I can keep it from falling onto the ground
by having a hardcoded mouse joint between it's head-body and the ground.
But it doesn't seem to be the proper way. When moving it, I destroy the previous mousejoint
and create a new one in the same hight (initialized at the begining) and the new x-position.
It is working sometimes, but when I move the model a little bit more violent, then it is falling onto the ground.
Of course I can send the piece of code I use and the executable itself (using the 'testbed').
How else can be created a model? And specifically, how else can be kept standing up ?
It it the proper way, by having such a mousejoint? Or is there something better? Did anyone from you guys (or girls) have successfully created something like this?
If you need any other details, please tell me.
Any help would be appriciated
thanks
theodosi
I created a model using a few box2d-bodies. I can keep it from falling onto the ground
by having a hardcoded mouse joint between it's head-body and the ground.
But it doesn't seem to be the proper way. When moving it, I destroy the previous mousejoint
and create a new one in the same hight (initialized at the begining) and the new x-position.
It is working sometimes, but when I move the model a little bit more violent, then it is falling onto the ground.
Of course I can send the piece of code I use and the executable itself (using the 'testbed').
How else can be created a model? And specifically, how else can be kept standing up ?
It it the proper way, by having such a mousejoint? Or is there something better? Did anyone from you guys (or girls) have successfully created something like this?
If you need any other details, please tell me.
Any help would be appriciated
thanks
theodosi