Schwartz Engine

Schwartz Engine

About This

I develop Android Apps and games. I play board games and I am an experienced GM in warhammer Fantasy Role Play (1st and 2nd Ed). I am also painting and sculpting miniatures.
Yes that's right I am a freak - No mistake there. I am using this media to track my work and organise it a little.

Not Big Enough I Say!

AppsPosted by Carsten Schwartz May 28, 2018 19:08
I did it again, as I was driving home in my car I wondered why the hugest of the asteroids in my clone of the Atari Asteroids Game from 1979 not just pushed the smaller asteriods out of the way on impact, I had a revelation!

The mass of an asteriod is not based of a one dimensional diameter like metric or a two dimnesional area like metric for that matter. Mass is mass and it is volume based, so away I went an added a cubicSize member to my asteroid class which is size*size*size, where size is the diameter of the smallest circle surrounding the center of mass of the asteroid. And behold it looks more like the effect i was after, try it out:

It goes to show that the human mind works in mysterious ways when it comes to trouble shooting and problem solving :-)

  • Comments(0)//