研究了一下,除了 rigidbody Freeze Rotation之外
在FixedUpdate(注意这里是物理特性,应在这里写而不是Update函数内)里面写一句
rigidbody.velocity = new Vector3(0, 0, 0);