nicholas-maltbie / ProjectCage

Project for Game Jam 2021 with IGDA with other students at UC. Working Title: Project Cage
Other
1 stars 0 forks source link

Investigate Polygon Colliders #7

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

Get some methodology/workflow of generating polygon colliders (either automatically or manually) for an area in a scene. This can be done by hand or by using generated tools. Or maybe by combining smaller colliders or importing from external software.

Whatever is decided, some workflow for making non square/rectangle/circle colliders for objects in the scene.

swiimii commented 3 years ago

Polygon colliders are simple to get started. When you add one to an object, it automatically creates an approximate collider, and can be modified similarly to a freeform light.

https://docs.unity3d.com/Manual/class-PolygonCollider2D.html

image

Example of a generated collider.