コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
Hi,

I'm working on an open-world-game with a big map. The terrain is a "single gameobject", without extra gameobjects for cliffs, paths etc. Therefore I cannot tag them to have effect on my footsteps. Is there another way to do it without creating and placing colliders on the whole map? Is there a chance to use switches for textures?

 

Thanks for your help!

Regards,

Nils
Nils H. (130 ポイント) General Discussion

回答 1

0 支持
 
ベストアンサー

Hey Nils, 

Yes it is possible, but it's a quite demanding process. 

If you are using Unity, you believe you can... Raycast on the surface below the player and get the 3 vertices of the "hit" polygon. Then compare the "material" of each vertex to see which material they all have in common, and set the Switch based on that. We actually tried using this method in the Wwise Adventure Game, but scrapped it because it wasn't very performant. Instead, we split the map mesh into areas, created a "tag"-like script called "SoundMaterial" where you set the switch, which worked way better.

Honestly, unless they absolutely NEED the entire map to be one mesh, I would try convincing them to break it up into pieces, cause it's not only audio that would benefit from not having to scan a gigantic mesh. 

Also, if you're stuck with using triggers, then ProBuilder is a great tool in Unity for creating custom shapes. 

Let me know if this helps! 

Cheers, 
Mads

 

Mads Maretty S. (Audiokinetic) (40.2k ポイント)
Mads Maretty S. (Audiokinetic) 選択
...