-
Notifications
You must be signed in to change notification settings - Fork 0
API Physics
Eduard Gushchin edited this page Jun 21, 2026
·
2 revisions
Home | API by Category | Complete API Index | API Compatibility
2D physics bodies, areas, shapes, query parameters, collisions and physics server boundaries.
This category currently contains 30 public types.
| Type | Kind | Summary |
|---|---|---|
| Area2D | class | Provides an Electron2D 2D area node for overlap and influence queries. |
| CapsuleShape2D | class | Provides a capsule-shaped 2D physics resource. |
| CharacterBody2D | class | Provides a 2D character body moved directly by user code. |
| CharacterBody2D.MotionModeEnum | enum | Identifies how collisions are classified during slide movement. |
| CharacterBody2D.PlatformOnLeaveEnum | enum | Identifies how platform velocity should be applied when leaving a platform. |
| CircleShape2D | class | Provides a circular 2D physics shape resource. |
| CollisionObject2D | class | Provides the Electron2D base node for 2D objects that own a physics server RID. |
| CollisionShape2D | class | Provides a node that attaches a Electron2D.Shape2D to a collision object. |
| ConcavePolygonShape2D | class | Provides a concave polygon 2D physics shape resource backed by line segments. |
| ConvexPolygonShape2D | class | Provides a convex polygon 2D physics shape resource. |
| KinematicCollision2D | class | Holds collision data returned by 2D body movement methods. |
| PhysicsBody2D | class | Provides the base node for physical 2D bodies that participate in collision queries. |
| PhysicsDirectSpaceState2D | class | Provides direct 2D physics queries for a Electron2D.World2D. |
| PhysicsMaterial | class | Provides an Electron2D physics material resource for 2D body collision behavior. |
| PhysicsPointQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectPoint(Electron2D.PhysicsPointQueryParameters2D,System.Int32). |
| PhysicsRayQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectRay(Electron2D.PhysicsRayQueryParameters2D). |
| PhysicsServer2D | class | Provides the Electron2D server boundary for low-level 2D physics objects. |
| PhysicsServer2D.ProcessInfo | enum | Identifies a physics process statistic that can be queried from the server. |
| PhysicsServer2D.ShapeType | enum | Identifies the shape resource kind stored by the physics server. |
| PhysicsServer2D.SpaceParameter | enum | Identifies a configurable parameter of a physics space. |
| PhysicsShapeQueryParameters2D | class | Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectShape(Electron2D.PhysicsShapeQueryParameters2D,System.Int32). |
| RayCast2D | class | Provides an Electron2D 2D raycast node. |
| RectangleShape2D | class | Provides a rectangular 2D physics shape resource. |
| RigidBody2D | class | Provides an Electron2D rigid 2D physics body. |
| RigidBody2D.CenterOfMassModeEnum | enum | Identifies how the body's center of mass should be selected. |
| RigidBody2D.FreezeModeEnum | enum | Identifies how a frozen rigid body should interact with the simulation. |
| SegmentShape2D | class | Provides a finite line segment 2D physics shape resource. |
| Shape2D | class | Provides the Electron2D base resource for 2D physics shapes. |
| StaticBody2D | class | Provides an Electron2D static 2D physics body. |
| World2D | class | Provides access to the 2D world associated with a canvas item. |
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.