tx
06-03-2007 11:28:25
Hi!
Im having some problems on how to implent my spaceship in a game.
I want to have two scenes, one for the interior of the ship and one for the exterior.
Now I don't want the objects in the inside to be affected by acceleration of the ship. And not any turning and such either (gravity should remain the same).
So I was thinking, two scenes. The first one has a static body of the interior (meshShape). And a character controller + items in the ship. The second will have the outside of the ship and planets, and stations.
Now the problem is. With a static interior and a dynamic exterior how can I make the work together.
First I was looking into if it was possible to define where 0 (start position of the scene) is in the world.
But as the physics really don't have anything to do with the graphics that might only be stupid. Perhaps I could attach the interiors scenenode to the exteriors?
An ideas on this?
Im having some problems on how to implent my spaceship in a game.
I want to have two scenes, one for the interior of the ship and one for the exterior.
Now I don't want the objects in the inside to be affected by acceleration of the ship. And not any turning and such either (gravity should remain the same).
So I was thinking, two scenes. The first one has a static body of the interior (meshShape). And a character controller + items in the ship. The second will have the outside of the ship and planets, and stations.
Now the problem is. With a static interior and a dynamic exterior how can I make the work together.
First I was looking into if it was possible to define where 0 (start position of the scene) is in the world.
But as the physics really don't have anything to do with the graphics that might only be stupid. Perhaps I could attach the interiors scenenode to the exteriors?
An ideas on this?