EZDraw – Runtime mesh drawing system


This system allows you to draw a line either on 3D surface or on UI based component and turn that data into a mesh, There ar ...


by negleft


Price History +

This system allows you to draw a line either on 3D surface or on UI based component and turn that data into a mesh, There are a couple of examples included in the Examples folder where you can look at the scripts and understand how the system works.

You can try some demos below

● WebGL demo

● Android demo

● A unique game made with EZDraw



The are some components included that can work independently, I tried to make this system as simple as possible, while it should have the ability to be used in widely different scenarios.

There are two mesh making components first is MeshMaker which generates the mesh based on an array of positions, second is CanvasLine this draws a line on the UI canvas based on an array of positions.

Included examples.

● Drawing physics : this has a 3D surface where you can draw a shape and then apply a collider and rigidbody to make it a physics object.

● Draw walker : in this demo you can draw a shape on a canvas UI component and it will turn that shape into legs for a walker.

● Draw walls : this demo gives you a 3D surface to draw on and this system will make a simple wall out of it.

● Drawing board : in this demo you draw anything on a canvas based component using the CanvasLine component and play with some settings

Pivot control

The system can define the start and the end of mesh using 2 empty gameobjects, you can get their reference using a getter function.

Physics

In order to use the rigidbody with mesh collider, just turn on the convex bool in mesh collider.

Use

● Drawing bridges

● Drawing walls

● Drawing path

● Drawing procedural legs of a character

● Or in any project where you need to draw some simple mesh.

Thank You
negleft