国产午夜毛片v一区二区三区,人妻无码制服丝袜欧美日韩,亚洲午夜精品a片久久www解说,日韩人妻无码av一二三区

  • unity3d給物體增加扭矩力

    2019/4/9??????點(diǎn)擊:
    using UnityEngine;
    using System.Collections;
    
    public class AddTorqueExample : MonoBehaviour
    {
        public float amount = 50f;
        
        
        void FixedUpdate ()
        {
            float h = Input.GetAxis("Horizontal") * amount * Time.deltaTime;
            float v = Input.GetAxis("Vertical") * amount * Time.deltaTime;
            
            rigidbody.AddTorque(transform.up * h);
            rigidbody.AddTorque(transform.right * v);
        }
    }