Quantcast
Channel: Answers by "ThePersister"
Viewing all articles
Browse latest Browse all 99

Answer by ThePersister

$
0
0
I'll give a shot at answering this question, but if I get it wrong, please add images of your scene and add your code, which would give us better insight of the situation. One thing you should know is that doing a transform.translate sets the position in smooth lerps. However it can ignore the collision too. First of all, for collisions you'll need a rigidbody on the Car object. Once you have a rigidbody, try using rigidbody.AddForce(); to move the car about, there are plenty of tutorials on this, so you should be fine :) So maybe that's enough to solve your problem. But if it isn't, please add some scene images and code so we can give more accurate answers :) Best of luck! ;)

Viewing all articles
Browse latest Browse all 99

Trending Articles



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