This week I was mainly putting my game together which is
going well and I should be able to finish the game before the deadline.Update :- this blog was not posted in week 11 by accident also i could not reach the deadline and was thus given an extension over the weekend
This week I took the image originally given to use by the
tutor and photo shopped all the torrents out by placing patches of grass and
snow into them after which I placed resized cubes that will later act as
platforms for the torrents to be placed on.
As usual I started over thinking on how to make the torrent
and made a huge mess of code that
didn’t even rotate thus I was going to ask my tutor for help but before i could ask we were given a simpler way to do it by using using the 2d overlap
circle which is basically making a radius in world space .To put it in the most
simple way its like creating a sphere collider and detecting if something is
inside the trigger or not. It is to be noted that you can use 3d version of it.
To learn more about it you can check the bibliography below.
Bibliography: -
Physics overlap circle.
http://docs.unity3d.com/ScriptReference/Physics2D.OverlapCircle.html

