![]() |
Green Rock Engine 0
|
Public Member Functions | |
bool | AABBOverlap (AABB a, AABB b) |
AABB | GetCombinedAABBRegion (AABB a, AABB b) |
AABB | GetAABBOverlapRegion (AABB a, AABB b) |
bool | PointIsInAABB (PointF p, AABB aabb) |
bool | LinesSegmentsOverlap (PointF a1, PointF a2, PointF b1, PointF b2) |
bool | LinesCanIntersect (Line l1, Line l2) |
PointF | LineIntersectionPoint (Line l1, Line l2) |
List< PointF > | LineIntersectsCircle (PointF p1, PointF p2, PointF c, float r) |
bool | IntersectionIsWithinLineSegments (PointF intersection, PointF a1, PointF a2, PointF b1, PointF b2) |
void | AddCollisionObject (Collider obj) |
void | RemoveCollisionObject (Collider obj) |
HashSet< Collider > | GetColliderObjects () |
bool | PointIsCollidingWithLayer (PointF point, string layer) |
List< Collider > | GetCollidersOfLayer (string layer) |
Raycast2DResult | Raycast2D (PointF origin, Vector2 direction, float distance, List< string > layers) |
Implemented in GREngine.Core.Physics2D.CollisionSystem.
Implemented in GREngine.Core.Physics2D.CollisionSystem.
Implemented in GREngine.Core.Physics2D.CollisionSystem.
bool GREngine.Core.Physics2D.ICollisionSystem.IntersectionIsWithinLineSegments | ( | PointF | intersection, |
PointF | a1, | ||
PointF | a2, | ||
PointF | b1, | ||
PointF | b2 | ||
) |
Implemented in GREngine.Core.Physics2D.CollisionSystem.
Implemented in GREngine.Core.Physics2D.CollisionSystem.
Implemented in GREngine.Core.Physics2D.CollisionSystem.
bool GREngine.Core.Physics2D.ICollisionSystem.LinesSegmentsOverlap | ( | PointF | a1, |
PointF | a2, | ||
PointF | b1, | ||
PointF | b2 | ||
) |
Implemented in GREngine.Core.Physics2D.CollisionSystem.
Raycast2DResult GREngine.Core.Physics2D.ICollisionSystem.Raycast2D | ( | PointF | origin, |
Vector2 | direction, | ||
float | distance, | ||
List< string > | layers | ||
) |
Implemented in GREngine.Core.Physics2D.CollisionSystem.