using UnityEngine; namespace Normal.Realtime.Examples { public class VoiceMouthMove : MonoBehaviour { public SkinnedMeshRenderer[] skinned; private RealtimeAvatarVoice _voice; private float _mouthSize; void Awake() { _voice = GetComponent(); } void Update() { if (skinned != null) //not sure whether work or not { float targetMouthSize = Mathf.Lerp(0.1f, 1.0f, _voice.voiceVolume); _mouthSize = Mathf.Lerp(_mouthSize, targetMouthSize, 30.0f * Time.deltaTime); foreach (SkinnedMeshRenderer s in skinned)//not sure whether work or not { s.SetBlendShapeWeight(41, _mouthSize * 100); s.SetBlendShapeWeight(17, _mouthSize * 50); s.SetBlendShapeWeight(6, _mouthSize * 20); } } } } }
top of page

Unity @ GDS 2022

  • 作家相片: fang ma
    fang ma
  • 2022年3月24日
  • 讀畢需時 1 分鐘


  1. unity demo enemies: digital human

https://unity.com/demos/enemies



https://awards.unity.com/

2. Best AR/VR game





哪里可以申请学生project




3.. 可以考虑用改一下的插件 #unityplugin

1)Best development tool (Asset Store)

Grabbit是个物理模拟摆场景

MegaFiers确实厉害

Flow做水

2)Best artistic tool (Asset Store)


3) Best artistic content (Asset Store)



4. 可以关注的人 devlog





相關文章

查看全部
Inspector GUI

https://answers.unity.com/questions/814870/why-arent-public-variables-shown-in-the-inspector.html public variables shown in the Inspector...

 
 
 

Comentários


  • Facebook
  • Twitter
  • LinkedIn

©2021 by Mianzi Ltd

bottom of page