Time-step independent exponential smoothing.
When moving at a constant speed: speed * delay = Value - ExponentialSmoothing.value.
コード例 #1
0
ファイル: ArmHUDMGR.cs プロジェクト: ryanwang/VR-Planetarium
 void Awake()
 {
     WristGraphicsOff();
     smoothedPosition = new SmoothedVector3 ();
     smoothedRotation = new SmoothedQuaternion ();
 }
コード例 #2
0
 void Awake()
 {
     WristGraphicsOff();
     smoothedPosition = new SmoothedVector3();
     smoothedRotation = new SmoothedQuaternion();
 }