
I am trying to paint a sphere's surface using a RayCast.
Originally, I used decals to accomplish this, but it was crashing a lot due to an engine bug, and Calinou advised me to use PlaneMesh as decals are very inefficient for this task.

My issue is that I have no idea how to use PlaneMesh. How would I utilize PlaneMesh in this way?