Say I have a plane, directly facing the camera, and that plane receives a collision event.
How do I convert the collision coordinates to corresponding coordinates on the plane’s applied texture?
Say I have a plane, directly facing the camera, and that plane receives a collision event.
How do I convert the collision coordinates to corresponding coordinates on the plane’s applied texture?
Use RaycastHit.textureCoord.
–Eric