Rigidbody:刚体组件,物理类.(与Rigidbody组件相关的代码尽量都写在FixedUpdate()方法中,如果写在Update()中有可能会卡顿) 属性:Mass:质量. Drag:空气阻力. Angular Drag:角阻力.受到扭曲力时的空气阻力. Rigidbody.MovePosition(Vector3):使物体移动到Vector3的位置. Vector3:目标点. public class Test { private void…
关于刚体Rigidbody,手册上是这么描述的: Control of an object's position through physics simulation. 通过物理模拟控制一个物体的位置. Rigidbody components take control over an object's position - it makes the objects fall down under the influence of gravity, and can calculate how o…