Version: 2023.1
Language : English
Physics 2D Reference
Introduction to Rigidbody 2D

Rigidbody 2D

Rigidbodies enable physics-based behavior, such as reactions to gravity, mass, drag, and momentum. A RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info
See in Glossary
2D is a 2D component you can use to enable an object to act under the control of physics.

Topic Description
Introduction to Rigidbody 2D Learn how to use Rigidbody 2D in your project and how they interact with ColliderAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info
See in Glossary
2D components.
Rigidbody 2D body types Choose which Body TypeDefines a fixed behavior for a 2D Rigidbody. Can be Dynamic (the body moves under simulation and is affected by forces like gravity), Kinematic (the body moves under simulation, but and isn’t affected by forces like gravity) or Static (the body doesn’t move under simulation). More info
See in Glossary
to use to define the behavior of the Rigidbody 2D.
Simulated property Use this property to start or stop a Rigidbody 2D and any attached Collider 2Ds and JointA physics component allowing a dynamic connection between Rigidbody components, usually allowing some degree of movement such as a hinge. More info
See in Glossary
2Ds from interacting with the 2D physics simulation.

Additional resources

Physics 2D Reference
Introduction to Rigidbody 2D
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961