Jump to content

  • Log In with Google      Sign In   
  • Create Account






Day 8 - Unity, Blender and Productivity Power Tools

Posted by Alex.SilR, in General 05 November 2012 · 408 views

Mirrored from my blog (en, pt-br).

Day 8 was much more productive that this weekend (day 6 and 7). I read chapter 5 and 6 of the book Unity 3.x Game Development Essentials and watch more video lessons of Blender.

The chapter 5 did an introduction to collisions and implemented in three different ways the collision used to open the door of the station. The three forms are:
  • Resizing the box collider of the own door - The worst form in this situation, because the player is locked when collided with the collider, and how the collider is bigger that the door mesh, the player hangs on nothing.
  • Ray cast - Better than before, but still got the problem that the door only opens when the player is facing it.
  • Creating Another Box Collider and setting it for isTrigger - That was the best solution presented (assuming it works as if the door had a motion sensor) and that will stay the rest of the project. The door opens when the player comes close, not get stuck and do not need to be facing the door to open.

Posted Image

In Chapter 6 is implemented a simple logic to only open the door when a total of 4 power cells is collected by the player. Are also implemented several feedback to the player, such as:
  • Display messages.
  • Display at screen (HUD) how much is left of cells to “fill up all the energy.” Is also placed a power generator on the door showing the same information as the screen.
  • A light above the door indicating whether locked or not (red and green).
  • Sounds when: get energy cells, trying to open the locked door.

http://www.youtube.com/watch?v=8GQZdO4npdg&feature=player_embedded

I’m really enjoying the book, I think this week I can finish reading.

As chapter 5 and 6 uses quite a lot of script, one thing I missed in Visual Studio was the autocomplete feature for (), [], {}, “” and so on. So I searched and found the Productivity Power Tools plugin, very good, I recommend.

I’m also really enjoying the video lessons of Blender, even not creating something from start to finish each video introduces a new tool. When I get a more advanced stuff this overview will be cool. After finishing this video lesson I will take a look at Blender DVD Training 10 Venoms Lab 2 and I found a blog that appears to be very good! Blender Guru.

PS: Sorry for the bad english.




August 2014 »

S M T W T F S
     12
3456789
10111213141516
171819 20 212223
24252627282930
31      

Recent Entries

PARTNERS