add some extra assets FX and SFX
This commit is contained in:
@@ -89,7 +89,7 @@ public class headTrack : OnAnimatorIKComponent
|
||||
|
||||
headTrackTarget currentLookTarget;
|
||||
|
||||
bool currentLookTargetLocated;
|
||||
public bool currentLookTargetLocated;
|
||||
|
||||
Vector3 currentPositionToLook;
|
||||
Vector3 currentDirectionToLook;
|
||||
@@ -566,6 +566,10 @@ public class headTrack : OnAnimatorIKComponent
|
||||
|
||||
public void lerpWeights (float headWeightTarget, float bodyWeightTarget)
|
||||
{
|
||||
//if (headWeightTarget == 0 && bodyWeightTarget == 0) {
|
||||
// print ("0");
|
||||
//}
|
||||
|
||||
if (currentHeadWeight != headWeightTarget) {
|
||||
currentHeadWeight = Mathf.Lerp (currentHeadWeight, headWeightTarget, weightChangeSpeed * Time.deltaTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user