Volker wrote:
First thanks for sharing your solution.
It's about time I started giving something in return
Volker wrote:
You could implement it in an extension, although that might be some kind of an overkill.
Because
CastRayResult was already full with data that you might use or not, I was thinking not to bloat it even more with data that is or not need.
There for the idea was to have a an alternate version of the ray cast/get result functions in an extension and use them only when needed.
It would be nice if Horde's system allowed for a dynamic creation of
CastRayResult and choose what elements to be stored. (ex: return only the position, or only the node)
Volker wrote:
Maybe it would make sense to add the triangle data to the public interface?
Uhm.. I'm not sure I understand this. You mean exporting the position and uv data as the collision result? Wouldn't this make
CastRayResult even heavier?