mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 02:49:23 +00:00
Better tracking for all avatars
This commit is contained in:
parent
3b998827f5
commit
71c0068652
6 changed files with 36 additions and 33 deletions
|
@ -11,7 +11,7 @@ namespace ml_dht
|
|||
byte[] m_buffer = null;
|
||||
TrackingData m_trackingData;
|
||||
|
||||
FaceTracked m_localTracked = null;
|
||||
HeadTracked m_localTracked = null;
|
||||
|
||||
public override void OnApplicationStart()
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ namespace ml_dht
|
|||
while(PlayerSetup.Instance == null)
|
||||
yield return null;
|
||||
|
||||
m_localTracked = PlayerSetup.Instance.gameObject.AddComponent<FaceTracked>();
|
||||
m_localTracked = PlayerSetup.Instance.gameObject.AddComponent<HeadTracked>();
|
||||
m_localTracked.SetEnabled(Settings.Enabled);
|
||||
m_localTracked.SetMirrored(Settings.Mirrored);
|
||||
m_localTracked.SetSmoothing(Settings.Smoothing);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue