- Home /
Question by
emirkutluay · May 07, 2020 at 12:05 PM ·
transformtransform.positionnpc
Check if there is a object in front of you and equal your velocity to that objects
The header says it all, I want to check if there is a car in front of the npc that spawned. If there is equal their speeds so that they don't crash.
Comment
Your answer
Follow this Question
Related Questions
ping pong on x axis, unable to touch end of plane, 1 Answer
Need help updating camera position to go above the player 2 Answers
How do I get the transforms of all the objects in my scene ? 2 Answers
Move gameObject with mouse 1 Answer
How do i make my background keep the same position as my character? 0 Answers