Hi,
I’m trying to derive a steer angle for an AI car from the AIPath script. I’ve been attempting to use the “rot” variable that the script uses to turn the transform to each new path segment. It’s in euler angles so I thought it might work with some tweaking, but my programming skills just aren’t good enough at this point to figure it out. I guess what I would want is an angle from the transform.forward to the new path segment in + or - euler angles since this is what WheelCollider.steerAngle needs. I wonder if anyone has worked on this problem for an AI car.
Thanks so much. I would greatly appreciate any help.