How do I paint over a sphere using PlaneMesh?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ynot01

Sphere painting with decals

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.

Calinou quote

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