AI cars model made by me in my car racing game not picking way point correctly and not moving
as i used a car racing game script from asset store and the dummy AI cars working perfect and moving along the way points (way points spread all over the track to guide the AI cars)
now i am putting my models and attached with them AI Car script and assigned them the way points but they are not moving some time getting -ve acceleration and moving backward direction and truing on wrong direction …!!
is there some scaling factor that does matter as i have imported my car models fbx from maya 3D and the set there scale to somewhere like x=22,y=22,z==22 … and then the size of my model cars equal to the dummy car … but dummy car scale is x=1,y=1,z=1
can any one please help …?? so i can proceed with my game …!!
as when i start game the AI script attached to my car models start showing current way pomint is 1,2,3…6 (total are 12) but the dummy model script show number of those way point in which the car is …!!
Problem Solved thanks for unity3D community for not helping me…
the problem was here RelativeWaypointPosition.magnitude < 20 due to scale of car the magnitude decreases …
i changed it to RelativeWaypointPosition.magnitude < 1 and it worked …
can any one please explain it to me . ??