- Home /
How to build a spaceship with interior?
I've begun to study a unity engine in one purpose: I have a great multi player game idea!
The main essence: In space there are two (or even more) huge spaceships with crew consisted of players (all real humans). Ships are very powerful dreadnoughts with a lot of features (radar system, many weapons, missals, refinery factory, gravity generator, indoor light system, shields generators, engines and so on), but all systems are broken at the beginning of the game. Crew should decide, which systems are more important in battle and repair it. They should extract materials from asteroids and revive their spaceship. Then, they should locate second ship, and try to destroy it. Whose spaceship will be in a whole skin during one minute after destroying another, will be the winners. If there are more then two spaceships, surviving crew from destroyed ship can move to another alive ship.
I've already draw detailed 3d model of spaceship, but I faced with a problem during importing model to unity. The problem with mesh collider. Players should get into a ship and walking in it, HOW can I do that? I can't use non-convex mesh collider in unity 5, and I cannot put one collider to another. It would solve the problem, if I draw ship piece by piece, but not as entire. But ship is really complex, to assembly it from prepared parts take really long time and ship will be messily. Is there another way to solve my problem?
@geytyout411, Detailed description of game essence will filtered usefulness recommendations. I cannot use non-convex meshcollider
, because it is not compatible with rigidbody
in unity 5.
You think so? I$$anonymous$$HO it will make the TL;DR folks click next and move on. I got nothing from it that helped with the problem. shrug ymmv
I see you updated your prior comment; knowing you are using Rigidbody on Player would have been so much more helpful than "I've begun to study a unity engine in one purpose: I have a great multi player game idea!
The main essence: In space there are two (or even more) huge spaceships with crew consisted of players (all real humans). Ships are very powerful dreadnoughts with a lot of features (radar system, many weapons, missals, refinery factory, gravity generator, indoor light system, shields generators, engines and so on), but all systems are broken at the beginning of the game. Crew should decide, which systems are more important in battle and repair it. They should extract materials from asteroids and revive their spaceship. Then, they should locate second ship, and try to destroy it. Whose spaceship will be in a whole skin during one $$anonymous$$ute after destroying another, will be the winners. If there are more then two spaceships, surviving crew from destroyed ship can move to another alive ship. "
Well at least one option is while player is inside ship use standard FPC. Good luck.
Answer by cadellinman · Aug 19, 2015 at 12:10 PM
The most obvious way would be to use a group of several convex colliders, rather than one single one, maybe parented underneath your geometry.
In a game I developed a character needed to fly through an archway in a bridge- each pillar and the top of the bridge were all made using separate colliders. Depending on the shape of your ship you may be able to split it into convex 'chunks' and do it that way. You could even save on processing power by switching to a more simple collider when you are outside.
Alternatively, depending on how you intend to transition from inside to outside the ship- could you not make the outside part a separate 'scene'?
I think he's trying to make a Space Engineers/Star Citizen kind of game. All i can say is GOOD LUC$$anonymous$$, because those $$anonymous$$ms are pretty large.