08 2013 档案
摘要:floatspeedFactor=Mathf.Clamp01(target.root.rigidbody.velocity.magnitude/70.0f); //Debug.Log(speedFactor);//根据物体的速度变化产生的系数,速度越大,系数越大 camera.fieldOfView=Mathf.Lerp(55,72,speedFactor); floatcurrentDistance=Mathf.Lerp(7.5f,6.5f,speedFactor); currentVelocity=currentVelocity.normalized; Vector3newTargetPo
阅读全文

浙公网安备 33010602011771号