版本

menu_open
警告:系统已根据您所用大版本 (2023.1.8.8601) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise Unreal Integration Documentation
Using Distance Probes to Customize Listeners in Third-Person Games

Before you begin this tutorial, refer to Working with Listeners in Third-Person Perspective Games for a general introduction to Distance Probe usage in Wwise.

This tutorial demonstrates how to use a Blueprint to assign a Distance Probe in Wwise. The example uses the Third Person project template, and the ThirdPersonCharacter Actor is used for the Distance Probe. The exact steps might vary depending on your project.

To use a Blueprint to assign a Distance Probe:

  1. In the Content Browser, go to Content > ThirdPerson > Bluprints and double-click BP_ThirdPersonCharacter. The Blueprint opens.
  2. On the Event Graph, right-click an empty area and add a BeginPlay Event.
  3. Right-click to add a second node, Set Distance Probe, and connect it to Event BeginPlay.
  4. Drag a pin from the Listener input parameter of Set Distance Probe, and add a Get Player Camera Manager node.

    注記: Wwise Unreal 集成 会将 Game Object 自动注册为默认听者并绑定到 "PlayerCameraManager" Actor。
  5. Drag a connection from the Distance Probe input parameter, and add a Get a reference to self variable. In this context, Self refers to the ThirdPersonCharacter Actor.

  6. Use Wwise Authoring to connect to the game and confirm that the Distance Probe is set up correctly. 有关详细信息,请参阅对 Distance Probe 实施性能分析章节。

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅