Quantcast
Channel: Questions in topic: "mass"
Viewing all articles
Browse latest Browse all 157

Collision causes object to fly away at high velocity

$
0
0
I have a game where the user can fly a ship into islands to destroy them. When the ship collides with any of my islands, the island will seem to disappear but after further investigation, I observed the island just moves extremely far away instantaneously and then stops. I've changed the mass and drag but they don't seem to be having an effect. Why is collision adding so much force? This is the ship object ![alt text][1] This is the Island object, the mass and drag are set to 100 in the code ![alt text][2] This is a link to the apk to test out. [link text][3] [1]: /storage/temp/83688-shipmodel.jpg [2]: /storage/temp/83691-islandmodel.jpg [3]: https://drive.google.com/open?id=0BzLV70xmX5jlVUVXX3dWNXd3LTA

Viewing all articles
Browse latest Browse all 157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>