mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
fix: Fix collision detection comments and typo (#1422)
* Fix collision detection comments and typo * Update packages/flame/lib/src/collisions/collision_callbacks.dart Co-authored-by: Pasha Stetsenko <stpasha@google.com> * Update doc/flame/collision_detection.md Co-authored-by: Pasha Stetsenko <stpasha@google.com> Co-authored-by: Pasha Stetsenko <stpasha@google.com>
This commit is contained in:
@ -37,7 +37,7 @@ class GestureHitboxesExample extends FlameGame
|
||||
Vector2.random(_rng),
|
||||
Vector2.random(_rng)..y *= -1,
|
||||
];
|
||||
return PolygonHitbox.relatve(points, parentSize: shapeSize);
|
||||
return PolygonHitbox.relative(points, parentSize: shapeSize);
|
||||
}
|
||||
}();
|
||||
return MyShapeComponent(
|
||||
|
||||
Reference in New Issue
Block a user