Saturday, 16 April 2016

Battle Arena: Flags

Battle Arena: Flags.


I wanted to add flags that were not static and would flow in the wind. I started out by modeling a simple wooden frame within Maya to hold the flags up. I then made a plane and UV unwrapped it so I could design the flags in Photoshop. (see the post 'Good vs Evil' for information on as to why I chose these designs). 



You may be wondering why these next to images are stretched. well the UV unwrap was created for the plane in Maya but once I figured out how to create the flags in Unity and get them working it was much easier to make the plane in Unity. so as to make the texture not look stretched in Unity I had to stretch it in Photoshop, seems odd I know!




I added Skulls to the evil side to give it fore of a sinister feel.


I started out by creating a new GameObject in the scene, I then added a Plane to the game Object and re sized it to what I needed. Once I was happy with it I added the chosen texture. I then created a Cloth on the object. this creates the Skinned Mesh Renderer and the Cloth (seen on the right hand side of the image below). Within the Cloth drop down I changed the External Acceleration and Random Acceleration. these determine the direction of the flag that would be flowing in the wind. Once the game is played  the flags turn into a cloth like object.


No comments:

Post a Comment