Hi!
I’m using Unreal 5.4.2.
Imagine I have a sphere with the map of the Earth. I want to left the user identify some countries when they point to the sphere. I’ve thought I can do it spiting the sphere and use line trace to identify which part of the sphere they are pointing at.
Or maybe, there is a better approach.
It’s like dividing a sphere into parts or creating a sphere adding pieces. Maybe using Procedural meshes and those pieces are procedural meshes components (or actors).
Is that possible?
How can I do it?
Thanks.
Isn’t that quite similar like to shoot on an enemy NPC and to track the hit impact location on its mesh, in order to spawn some hit VFX?
Probably.
I only want to know where the player is looking at. The sphere will be divided into different areas and when they look at an area I will show a label. Sorry, I’m not English and it is difficult for me to explain it.
It is like a political map on a terrestrial sphere. If the user looks (or touches or shoots) over the area of a country, then the name of a country would appear. The important thing here is the area, that’s why I had thought of an actor with a procedural mesh representing a country. It will occupy an area of the sphere and it could be easier than get the hit point and compute if it is inside a country, and which country.
@OrbitalZones Thanks!