PlaceholderGames / Team1-2017

Team 1 CS2S561 game
2 stars 3 forks source link

Drilling removes mass #20

Closed SharktasticA closed 6 years ago

SharktasticA commented 6 years ago

One possible thing we could do with the drilling system is that the drilling itself removes mass and thus changes the body's interaction with the closest planet's gravity.

Thoughts? It should probably be a post-demo addition if we go through with it.

TheAddis commented 6 years ago

I feel if a small drill bit hitting an asteroid and eating away a tiny amount of it wouldn't change the mass enough to even consider a change of mass. It would probably be negligible at most considering nearly all of the hazardous bodies in space have a mass above 1x10^9 KG and mining would probably move a few hundred KG at most.

SharktasticA commented 6 years ago

I suppose we could increase the actual physical effect by a few order of magnitudes for gameplay purposes?

ghost commented 6 years ago

I looked around the internet for an easier solution to your colliders problem, @TheAddis. There's an interesting post on Unity forums about this that I thought you'd want to read.

https://answers.unity.com/questions/741228/how-to-import-from-blender-with-a-collider.html

Unity's official video on the topic: https://www.youtube.com/watch?v=bh9ArKrPY8w (they also present an efficient way of doing it for more complex models)

tl;dr for others importing models this way would be a bit "expensive" performance-wise (if the models are too complex) but for those that have a low polygon count, using mesh colliders might make things easier for Ben