Can built in parameters tell when the player is looking at an object above you?

Hi,

Is there a way to tell if the listener is facing an object above her? E.g. if you have a dragon flying above you, and you want it to make different sounds when the player is looking up at it…

I love using direction for this for sounds on the same vertical level as the player, but haven’t found a way to do it for object above/below the player.

Thank you!

The elevation parameter type is the angle between the direction the listener is facing and the direction from the listener to the event instance on the vertical (xy) plane. In conjunction with the direction parameter type that you have already discovered, it can be used to determine whether the listener is looking at an event instance above or below the listener.

1 Like