Quantcast
Channel: Answers by "Narv"
Viewing all articles
Browse latest Browse all 60

Answer by Narv

$
0
0
some sanity checks first: * does your rocket have a collision on it? box collider, sphere, etc? * you are using a variable called terraincollide but never set the value to true but then you are checking if it's true.. * you have a public variable for targetterrain. I assume you are setting that in the inspector but never reference it in the code. * the terrain you are hitting, is it a unity terrain or mesh? does it have a terrain collider or other collider of shorts? * have you tried using == instead of === in case unity is doing something funky with datatypes?

Viewing all articles
Browse latest Browse all 60

Trending Articles



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