Version: 2023.1
Language : English
Constant Force 2D
Area Effector 2D

Effectors 2D

Use Effector 2D componentsA functional part of a GameObject. A GameObject can contain any number of components. Unity has many built-in components, and you can create your own by writing scripts that inherit from MonoBehaviour. More info
See in Glossary
with Collider 2D components to direct the forces of physics when GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
collidersAn 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
come into contact with each other. You can use the following Effectors 2D components in Unity:

Topic Description
Area Effector 2D Use Area Effector 2D to arbitrarily vary force and angle magnitude.
Buoyancy Effector 2D Use Buoyancy Effector 2D to simulate buoyancy, fluid flow and fluid drag.
Point Effector 2D Use Point Effector 2D to attract or repulse against a given source point.
Platform Effector 2D Use Platform Effector 2D to create platform behavior, such as one-way collisionsA collision occurs when the physics engine detects that the colliders of two GameObjects make contact or overlap, when at least one has a Rigidbody component and is in motion. More info
See in Glossary
.
Surface Effector 2D Use Surface Effector 2D to create conveyor belts.

Additional resources

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