You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a ScreenElement without specifying a height or width
lettest=newScreenElement()this.add(test)
Expected Result
This should create without issue.
Actual Result
Error is produced
Excalibur only supports convex polygon colliders and will not behave properly.Call PolygonCollider.triangulate() to build a new collider composed of smaller convex triangles
Environment
browsers and versions: Chrome
operating system: Windows
Excalibur versions: latest main
(anything else that may be relevant)
Current Workaround
Specify a non-zero width and height, then optionally remove the ColliderComponent if it's not desired or set it to ex.ColisionType.PreventCollision
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
Create a
ScreenElement
without specifying a height or widthExpected Result
This should create without issue.
Actual Result
Error is produced
Excalibur only supports convex polygon colliders and will not behave properly.Call PolygonCollider.triangulate() to build a new collider composed of smaller convex triangles
Environment
Current Workaround
Specify a non-zero width and height, then optionally remove the
ColliderComponent
if it's not desired or set it toex.ColisionType.PreventCollision
The text was updated successfully, but these errors were encountered: