My set-up is 3rd person top-down, with mouse disabled and vertical look direction (so I can shoot the ground at my feet).
The issue resides in the magic item script - magic - Direction - selected 'indicate' with the surface indicator prefab:
During play the indicator does not appear on the terrain, only when looking at a e.g. crate. On a cube it simply slides of the sides, when on it, it doesn't appear on the surface. - I'm stumped.
The indicator object gets essentially disabled whenever not on the crate or on the side of the cude. When I add the 'teleport' in the cast action the indicator does not show up at all. This is all quite frustrating, no leads on google either.
So it appears the indicate ray-cast is somehow filtering, but the detect layers are set to default and the crate, terrain and the cube are all on the default layer. Could be the look source, which I assume is on the camera, should be high up enough not to just raycast to the side of things.
Any suggestions?
Many thanks,
The issue resides in the magic item script - magic - Direction - selected 'indicate' with the surface indicator prefab:
During play the indicator does not appear on the terrain, only when looking at a e.g. crate. On a cube it simply slides of the sides, when on it, it doesn't appear on the surface. - I'm stumped.
The indicator object gets essentially disabled whenever not on the crate or on the side of the cude. When I add the 'teleport' in the cast action the indicator does not show up at all. This is all quite frustrating, no leads on google either.
So it appears the indicate ray-cast is somehow filtering, but the detect layers are set to default and the crate, terrain and the cube are all on the default layer. Could be the look source, which I assume is on the camera, should be high up enough not to just raycast to the side of things.
Any suggestions?
Many thanks,