Here’s something I’ve been trying to work out for a while now, but haven’t been able to do properly in the GE. I’ll do a brief explanation (ok, its not that brief… :no:) and then explain the main issue im having.
Basically you just need to imagine that your a character whos walking around in a hangar on a space station or something. This hangar has artificial gravity. This part is easy enough to do in the BGE…
But inside the hangar ur in theres a small ship. When u enter the small ship you become a ‘child’ of this ship. You can then start the ship and start hovering in the hangar (still being effected by the space stations artificial gravity). And finally you can fly out the hanger doors, into the zero gravity vaccume of space (perhaps gravity is turned off once you trigger something by exiting the station, easy enough to do).
While ur traveling through space in this smaller ship you can get up out of the pilots seat and walk around the ship still, and even though the ship is moving around, and you remain stationary (relative to the ship)
And then of course after landing and exiting you are no longer the child of the ship, but again ur the ‘child object’ of the overall station.
Its nearly 1am over here in Australia, so i hope that made sense…
Ive done a small demo of this (ill upload the .blend sometime when i can)
The fundamental problem is not in the parenting, the new parent actuator makes this very easy (not to mention using python) but the main issue is that when the character object becomes the child of the smaller ship, it looses its rigid body properties and just ‘floats’, parented to the ship. This would make it impossible to be able to walk around inside the ship normally as it flys through space.
If anyone has any ideas id love to hear them. Im just wondering if anyone has done anything similar to this, and can potentially solve this problem… :eyebrowlift: