UNPKG

planck-js

Version:

2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development

23 lines (12 loc) 539 B
# Function: CollideEdgePolygon() > **CollideEdgePolygon**(`manifold`, `edgeA`, `xfA`, `polygonB`, `xfB`): `void` This function collides and edge and a polygon, taking into account edge adjacency. ## Parameters • **manifold**: [`Manifold`](/api/classes/Manifold) • **edgeA**: [`EdgeShape`](/api/classes/EdgeShape) • **xfA**: [`TransformValue`](/api/type-aliases/TransformValue) • **polygonB**: [`PolygonShape`](/api/classes/PolygonShape) • **xfB**: [`TransformValue`](/api/type-aliases/TransformValue) ## Returns `void`