Ctrl+K

Strawberry.Components.Physics Namespace

Documentation for types in the Strawberry.Components.Physics namespace.

Classes

Type Description
Strawberry.Components.Physics.BoxColliderComponent A collider with a rectangular shape
Strawberry.Components.Physics.CircleColliderComponent A collider with a rectangular shape
Strawberry.Components.Physics.ColliderComponent Base class for colliders. The collider's shape will be created in the next FixedUpdate iteration.
Strawberry.Components.Physics.PolygonColliderComponent A collider with an arbitrary polygon shape
Strawberry.Components.Physics.RayCastComponent Casts a ray in a specified direction each FixedUpdate and exposes the hit results. Used for ground detection, wall detection and ledge detection.
Strawberry.Components.Physics.RigidBodyComponent

Enums

Type Description
Strawberry.Components.Physics.UpdateDirection The way the transformation elements are updated relative to the world and physics

Structs

Type Description
Strawberry.Components.Physics.CollisionEvent The event occurs when two physical bodies collide
Strawberry.Components.Physics.RayClearEvent This event occurs when a ray stops hitting a fixture.
Strawberry.Components.Physics.RayHitEvent This event occurs when a ray starts hitting a fixture.
Strawberry.Components.Physics.SeparationEvent The event occurs when two physical bodies separate