Monday, November 23, 2015

Assignment B2 Behavior Tree


Rutgers ­ Computer Graphics Course ­ Fall 2015 ­ Assignment B2 Unity: Behavior Tree

Online Game Link




We implement for Affordances, GanaStyle Dance , Lying  and stand up and Pick up Stick(IK), Pick up Phone(IK), and also use other animations in library, like Talk to phone, Duck, Fight, Sitdown, StandUp.

Gana Style Dance and Lying and Stand up is use animator controller to and states of animations and write in the Behavior Mechanic, Body Mechanic, and Character Mechanic.
Pick ups using IK library, to just the weight of the body skeletons.

Story:
A gang of three thugs come to a street side restaurant, which is the territory of another gang, to look for a fight. But, this time, the other gang has nobody there.
Character A is walks around, then get bored, so he lies down and sit on the bench.
Character B found a phone on the ground; he tried to use this phone to lure one member from the other gang to this restaurant, so they can outnumber him. After he successfully lure out the enemy, he was happy and start to dance.
Character B and Character A also had a conversation.
When triggered, Character C picked up a stick, and waving the stick to prepare to fight someone.

Trigger of interaction, we implement a trigger for object interaction, when player enter the area trigger the IK to pick up the object. When “Space” Key is entered, there will be a stick show up on the ground and the character C will pick it up, then walk and waving the stick, the sky also starting raining.


Tree.  We have 4 layers of the tree.

1




 2





3






The last layer in the layer 3 is layer 4.







     

No comments:

Post a Comment