Sunday, October 18, 2015

Crowd Simulation and Animation in Unity

FULL DOCUMENTATION:
Expanded Report (Word Document)

Basic Crowd Simulator:

Online Version:
Basic Crowd Simulator (Not Supported in Google Chrome)



Description:
Control a set of agents in a complex environment which includes mazes, multiple levels, enemies, and other obstacles. This demonstrates how to do collision avoidance and path planning in Unity.

Controls:
  • Agents (minions):
    • Left click one or more agents to select
    • Left click ground of destination to move agents
  • Moveable Obstacles (crates where agents ARE NOT initially positioned):
    • Left click on obstacle to select
    • Arrow keys move obstacles
      • Up: Towards camera
      • Down: Away from camera
      • Left: Right
      • Right: Left
  • Camera:
    • A Key: Moves Left
    • D Key: Moves Right
    • W Key: Moves Up
    • S Key: Moves Down
    • Z Key: Zooms In
    • X Key: Zooms Out

Animated Robot:

Online Version:
Animated Robot (Not Supported in Google Chrome


Description:
Control a humanoid robotic agent's movements and actions. This demonstrates how to do character animation in Unity.

Controls:
  • Arrow keys move agent:
    • Up: Walk forward
    • Up + left: forward and left
    • Up + right: forward and right
    • Down: Walk backward
    • Down + left: backward and left
    • Down + right: backward and right
  • Hold shift to run while walking forward
  • Press space to jump while walking forward or running
Animated Crowd Simulator:

Online Version:
Animated Crowd Simulator (Not Supported in Google Chrome)



Description:
Control a set of complex, humanoid agents in a complex environment which includes mazes, multiple levels, enemies, and other obstacles. This demonstrates how to combine character animation with collision avoidance and path planning in Unity.

Controls:
  • Agents (robots):
    • Left click one or more agents to select
    • Left click ground of destination to move agents
    • Left click ground while HOLDING T to tell agents to run to destination
  • Moveable Obstacles (crates where agents ARE NOT initially positioned):
    • Left click on obstacle to select
    • Arrow keys move obstacles
      • Up: Towards camera
      • Down: Away from camera
      • Left: Right
      • Right: Left
  • Camera:
    • A Key: Moves Left
    • D Key: Moves Right
    • W Key: Moves Up
    • S Key: Moves Down
    • Z Key: Zooms In
    • X Key: Zooms Out
  • Speed:
    • Slider controls base speed of agents' movement
      • Faster speed = faster, less accurate movement


No comments:

Post a Comment