CircleColliderComponent
Declaration
public class Strawberry.Components.Physics.CircleColliderComponent
A collider with a rectangular shape
Inherits: Strawberry.Components.Physics.ColliderComponent
Properties
Fixture override
The underlying fixture of the collider
Fixture Fixture { get }
Radius
The radius of the collider in pixels
float Radius { get set }
Offset
The offset of the collider relative to size.
Vector2 Offset { get set }
Methods
CreateFixture protected override
void CreateFixture(Body body)
Parameters:
| Name | Type | Description |
|---|---|---|
body |
tainicom.Aether.Physics2D.Dynamics.Body |