Procedural Colliders 2D


Generates 2D polygon or edge colliders using a set of basic instructions in the Unity Editor.


by Battenberg Software


Price History +

Full instructions can be found here!


Procedural Colliders 2D allows you to create 2D edge or polygon colliders using a set of instructions to control the exact position of each point in the collider. Colliders are drawn using a point that moves and turns according to these instructions to draw a shape. These move and turn instructions can be combined to draw more complex colliders.


Loops are supported to repeat a section of instructions, for example to simulate a smooth curve with a lot of small moves and angle changes.


Features:


  • Full Unity Editor support for configuring, adding, removing and re-sequencing instructions.

  • Support for multiple polygon collider paths.

  • Export texture option to create a sprite that matches the collider exactly.

  • Example scene showing some Procedural Colliders 2D components and what they can achieve.

  • Includes full source code.