版本
menu_open

Crossfading Between Containers on a Blend Track

Now that there is a way to track how far an object is from the player, we can use this information to drive the Crossfade between various containers on a blend track inside of a blend container we have named magic_blast_fire_distance_blend.

As we did for the blend containers created for the ambient system, a new blend track will be created with a Crossfade enabled based on the new game parameter for Distance_to_Player.

Creating a new blend track with Crossfade enabled based on the Distance_to_Player game parameter

Randomized containers can then be added to the assigned objects area in the distance blend track. As previously mentioned, the order of these containers in the assigned objects section is reflected in their positioning on the blend track.

Adding containers to the blend track in the correct order

After the information is passed successfully from the game, the Distance_to_Player game parameter controls the Crossfade between containers, playing only the container (or containers) beneath the game parameter cursor.

  • When the game object plays the magic blast event within 0-25 units from the player, the magic_blast_fire_blend_near is heard alone.

  • When the game object plays the magic blast event within 25-75 units from the player, a blend of both perspectives is heard.

  • When the game object plays the magic blast event within 75-100 units from the player the magic_blast_fire_blend_far is heard alone.

[Note] Designer Note

While similar distance-based blending can be done using multiple attenuations, there are workflow benefits to managing these within blend tracks.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅