- Home /
Detect car position at specific location
I want to detect car postion and direction at that white parking area i.e the car is exact on that location and and in that direction. I tried some methods but that are not perfect. How can i do it perfectly.
Post the code that you've tried and we can try and help.
I have edited my question and also added the code now please check it and post some sample code for solving this problem. @Graham Dunnett
Answer by justin_iSO · Apr 26, 2013 at 05:25 PM
If you want exact you can just put the car in the position you want, record the positon (x,y,z) and the rotation (x,y,z) and then do a check against your expected values with some tolerance for each of the values.
~Justin
Your answer
![](https://koobas.hobune.stream/wayback/20220613101023im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to set an "hard" ragdoll 0 Answers
Trouble with car flipping on collision 1 Answer
Choose Car 1 Answer
How to display car speed on steering wheel 0 Answers
Car horn sound looping problem C# 0 Answers