Air Hockey Simulation

Download Report

Transcript Air Hockey Simulation

Physics Based Animation
Air Hockey Simulation
Project Aim
To produce a graphical simulation of air hockey in which motion and
interaction of objects is calculated according to the laws of physics
The Game
Air Hockey is a fast paced game where
competing players attempt to score goals
by using their mallets to shoot the puck
into the opponent’s goal. The first player to
score 7 points wins the game
Implementation
Use of the Java Open Audio Library
(JOAL) to provide spatialised 3D
sound
PHYSICS
GRAPHICS
Player mallets and table
constructed in VRML97 (V2).
SOUND
AI
CONTROL
A multi-threaded application
developed in Java, with the use of
Java3D to provide a real time
rendered 3D environment.
TIMER
TIMER
Diagram Illustrating Multi-Threaded Structure of Simulation
Artificial Intelligence
Physics
Artificial Intelligence bot running in
its own thread and designed to act
similarly to a real player
Physics engine that produces real time
game play with accurate collision detection
in the 3D world with scope for extendibility
to enable future enhancements. Time based
motion of objects produced by the engine
allows for effective modelling of momentum,
impulse and friction.
Control
Intuitive control to provide user with
realistic influence over the mallet using the
mouse
Team Members: Matthew Emmerson, Daniel Usher & Priyesh Mistry
Supervisor: Peter Kenny