0 votes

Is there any method to get the texture coordinates from a 3D raycast? I would create a plane (MeshInstance) which would has a snow/mud type of effect, so when something falls to the plane like a ball or any other object, it would push the texture. The plane and shader have been already created, it is working with a heightmap as well, so I tried to create a viewport and draw to the heightmap inside with this viewport, but the projection didn't work completely.
I would find a solution such as RaycastHit.textureCoord in Unity.

asked Jun 9 in Projects by cre (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.