RigidBody的基础知识

来源:互联网 发布:服务器centos和ubuntu 编辑:程序博客网 时间:2024/05/22 06:25

Rigidbodies enable your GameObjects to act under the control of physics. The Rigidbody can receive forces and torque to make your objects move in a realistic way. Any GameObject must contain a Rigidbody to be influenced by gravity, act under added forces via scripting, or interact with other objects through the NVIDIA PhysX physics engine.
这是unity官网上对unity的介绍。
这里写图片描述
其中需要注意的是Is Kinematic,如果勾选这个选项,(If enabled, the object will not be driven by the physics engine, and can only be manipulated by its Transform. This is useful for moving platforms or if you want to animate a Rigidbody that has a HingeJoint attached.),这是官网对它的介绍

原创粉丝点击