unity 3d和2d移动 的方法(代码
一·方法,改变坐标(快)
快速移动的物体 + 动画拖尾
transform.position += new Vector3( 5, 0, 0);
二·方法,改速度(有惯性,正常)
rb.MovePosition();
三·方法,力(拟真)
rb.AddForce();
四·方法,改速度(有惯性)
rb.velocity();

现在的unity中文文档查起来很方便
https://docs.unity3d.com/cn/2020.1/Manual/index.html
建议遇到不会的大家自行查看,
授人以鱼不如授人以渔。