Description


Implementation

We implemented two custom affordances using FinalIK.

- Pick Up Basketball
- Shoot Basketball

The tree is as follows:
  1. Root:
    1. Calls OrientAndWave, WalkAndTalk, DeltreseWalkTo, ThatDamnDeltrese, and CallDeltrese

  2. Children Layer 1:
    1. OrientAndWave orients person1 and person2 and P1Wave, and P2Wave
    2. WalkAndTalk makes person2 move to person1, orients them to face each other, and then calls Talk
    3. DeltreseWalkTo just makes Deltrese move to a specified location in the world
    4. ThatDamnDeltrese makes person1 and person2 head look at Deltrese as she walks by. (For some reason they only look at Deltrese's starting position and do not follow her as intended)
    5. CallDeltrese makes person2 try to get Deltrese's attention by waving or by phone call, and then calls Argue

  3. Children Layer 2:
    1. Talk returns a SequenceShuffle of a set of animations that make person1 and person2 look as though they are having a converasation. Since this is a sequenceshuffle, the sequence goes through in a random order, thus making the story non linear in nature
    2. Argue orients person1 and person2 to Deltrese and Deltrese to look at both of them. They cycle through a sqeuence shuffle of animations that make it seem as though they are all arguing

  4. Children Layer 3:
    1. P1Wave/P2Wave just makes either person1 or person2 wave depending on which function is called.
    2. P1isBored utilizes the texting animation so it looks like he is bored

Assignment B2

Behavior Trees