I’m trying to make a simple space game so at to familiarize myself with the BGE a bit more.
At the moment, all I have is a few planets (=spheres) and Susane. I’m having real trouble achieving something which at first I thought would be elementary but it turns out that it isn’t.
I’ve set the planets to be dynamic objects and of course when the game starts they fall and fall…and fall (hence gravity in the title). To get around this I have set them to be static physics objects and they fall no more. But then when Susane moves around the 3d space she simply passes through the sphere mesh which is kind of cool but ugly. If I change Susan’s physics type to dynamic or soft body she also drops due to gravity so that’s a no go.
It occurred to me to remove all gravity acceleration so I set gravity settings to zero. That worked in the sense that none of the objects (Susan, planets) fell any more. But when Susan collided with any of the planets she behaved as she was kicked real hard and pushed back in a spinning fashion. Again, the result was very ugly.
I’m sure there is a pretty logical explanation for this and I’m really looking forward to learning it.
So my questions to all of you BGE gurus out there:
(a) why is this happening? What am I missing here?
(b) what is the optimal way of designing such a space environment so as to handle gravity and spaceship movement(s)?
Any tips/pointers will be greatly appreciated.