Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Space Shooter Destroy by Contact is dropping FPS! (error: IsFinite(outDistanceAlongView))

$
0
0
I don't know exactly what's going on but my ´´Destroy by Contact`` script that I wrote following the Space Shooter tutorial is acting strange. When I hit play everything works fine as expected, but whenever I destroy an asteroid I get two error messages and theses messages keep repeating infinitely as the asteroids are destroyed. One note: the FPS drop increase as the asteroids are destroyed. Here is the script and error message: (ps. when I remove this line of command, that make the explosion, the error message, also the fps drop stop happening) ![alt text][1] ![alt text][2] One more important note: when an asteroid is destroyed, its explosion effect remain in the scene, as shown in the hierarchy, see: http://i.imgur.com/hnfT6W3.jpg (couldn't upload more imagens here) Could somebody please help me with this problem? I'm starting with Unity and don't know what to do. [1]: /storage/temp/60878-screenshot-22.png [2]: /storage/temp/60879-screenshot-24.png

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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