Intersect Clip is not working #929
Replies: 1 comment
-
Never mind, I figured out there was a bunch of things wrong with the code. In particular:
Below is my revised code that should clip a collider appropriately. Hope this helps somebody! public class TheProperPolygonClipper : MonoBehaviour
} ` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have been attempting to apply this library to the Unity Game Engine to mask colliders. I have been following the documentation and have created the code below to attempt to use the clipper functions to adjust points of a PolygonCollider2D. However, nothing appears to happen when the code executes, am I missing something?
`
Beta Was this translation helpful? Give feedback.
All reactions