I feel like its obvious, but how do you raycast relative to a gameobject. I need to raycast down to find the distance to the ground, but if the object is not level I don’t want it to raycast straight down but rather down relative to the object’s orientaion. how would I do that?
Physics.Raycast (transform.positon, -transform.up, …
–Eric