Friday, 23 January 2015

Collisions!

So instead of doing the perlin noise update I decided to quickly implement colliders for the meshes I am generating as this is basically copy & paste code with variable name changes...

To do this, all I took everything I did when creating the normal meshes, renamed some variables to collider#### for whatever that variable represented. The only bit I didn't need was the uv maps as eh colliders don't need to be rendered.



This image shows 1 mesh generated with only the collider being shown here, in the scene view of the unity editor.



This one shows lots of meshes being drawn with the colliders...

--------------------------------------------------------------------------------------------------------------------------

The next update I will be working on is the perlin noise(already working on it), I promise...

No comments:

Post a Comment