DYNAMICS Part 2 HOW DOES IT WORK?? by Willis Louie Jianfei Liao.

Slides:



Advertisements
Similar presentations
St Law 2 nd Law3 rd Law ForcesMisc.
Advertisements

Animating Speed Position and Orientation Presented by Kailash Sawant Hemanth Krishnamachari.
Yoshihiro NAKATA Intelligent Robotics Laboratory Dep. of Systems Innovation Graduate School of Engineering Science Osaka University T OWARD R EALIZING.
EDEXCEL IGCSE / CERTIFICATE IN PHYSICS 1-4 Momentum
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
SolidWorks Simulation. Dassault Systemes 3 – D and PLM software PLM - Product Lifecycle Management Building models on Computer Engineering Analysis and.
1 CS 599 Physically Based Modeling for Interactive Simulation and Games Case Study: Havok Engine for Game Physics Jernej Barbic University of Southern.
Ch. 7: Dynamics.
1 7M836 Animation & Rendering Animation Jakob Beetz Joran Jessurun
Game Physics Chris Miles. The Goal To learn how to create game objects with realistic physics models To learn how to simulate aspects of reality in order.
T.J. Hartnett CSE 704 Seminar Dr. Miller Spring ‘11 EVOLVING CREATURES.
Precomputed Solving for j Equality Constraint.
Computer graphics & visualization Collision Detection – Narrow Phase.
CS 4730 Physical Simulation CS 4730 – Computer Game Design.
An Introduction to Physics Engines Michael Sundqivst TV10S1M3.
  By:   Hiep and Long.
MOMENTUM. Specification Forces and motion Forces, movement, shape and momentum know and use the relationship: momentum = mass × velocity p = m × v use.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
DYNAMICS Part I Physics Engine By Willis (The Magnificent) Louie Fei (The Coyote) Liao.
Game Physics – Part I Dan Fleck Coming up: Rigid Body Dynamics.
Final Project Presentation& Demo Zhi Dong Real Time FEM of Elasto-Plastic Simulation.
Angry Marbles physics of the Angry Birds Games Fundamentals © by Jarek Francik Kingston University, London 2013.
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Chapter 12: Forces Section 3.
Concepts for Programming a Rigid Body Physics Engine Part 1 Presented by Scott Hawkins.
Deformable Body Mechanics Engr.Saeed Ahmed Maitlo Lecturer Institute of Biomedical Technology LUMHS Jamshoro.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics 6.1 October 09, 2013 Radu Serban University of Wisconsin-Madison.
Joint Reaction Forces Muscle Moments Joint Power
ME451 Kinematics and Dynamics of Machine Systems Singular Configurations 3.7 October 07, 2013 Radu Serban University of Wisconsin-Madison.
Introduction to Particle Simulations Daniel Playne.
Wile E. Coyote If Wile E. Coyote and a bolder fall off a cliff at the same time which do you think will hit the ground first?
Chipmunk Physics Remember that we talked about this a bit when we did collision handlers for the space ship integration task (SpritesActionsPhysicsSound).
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Computer Animation Real-Time Animation and Physics.
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Framsticks physics © Szymon Ulatowski. Simulation goals Physics-based: create real-world feeling to intuitively understand behaviors Not necessarily very.
Interactions: Collision Model Supercomputing Challenge Kickoff 2008 Bob Robey and Drew Einhorn.
Rigid Body Dynamics: A Graphical Simulation Eugene Paik
Advanced Games Development Game Physics CO2301 Games Development 1 Week 19.
Rick Parent - CIS682 Rigid Body Dynamics simulate basic physics of an object subject to forces Keyframing can be tedious - especially to get ‘realism’
Concepts for Programming a Rigid Body Physics Engine Part 2 Presented by Scott Hawkins.
Motion. Based on the reading… What is momentum? What affects momentum? What are the units for momentum?
3D Animation 3. Animation Dr. Ashraf Y. Maghari Information Technology Islamic University of Gaza Ref. Book: The Art of Maya.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
EDEXCEL IGCSE / CERTIFICATE IN PHYSICS 1-4 Momentum Edexcel IGCSE Physics pages 34 to 41 June 17 th 2012 All content applies only to Triple Science.
Advanced Computer Graphics Rigid Body Simulation
Physically Based Simulations For Games
Principles of Motion and STability
Done already for your convenience!
Momentum-related terms Examples of Momentum Cool facts about momentum
Manipulator Dynamics 1 Instructor: Jacob Rosen
Edexcel Specification
ENGR 34 Chapter 6, Day 3 3D Trusses & Frames
ENGR 34 Chapter 6, Day 3 3D Trusses & Frames
Lecture Rigid Body Dynamics.
LOGIKA & PEMROGRAMAN KOMPUTER MATLAB & Simulink
EDEXCEL IGCSE / CERTIFICATE IN PHYSICS 1-4 Momentum Edexcel IGCSE Physics pages 34 to 41 June 17 th 2012 All content applies only to Triple Science.
Laws of Motion Chapter Two.
Chapter 2 Forces in Motion
Manipulator Dynamics 2 Instructor: Jacob Rosen
Useful Tools for Making Video Games
Review: Newton’s 1st & 2nd Laws
Computer Animation Algorithms and Techniques
Advanced Games Development Game Physics
Review: Newton’s 1st & 2nd Laws
Motion and Momentum S8P3: Students will investigate relationship between force, mass, and the motion of objects.
Your Free Body Diagram and Law #2 Problems are due – if they are finished turn them into the tray. If you still have your Forces Notes Question, turn them.
Presentation transcript:

DYNAMICS Part 2 HOW DOES IT WORK?? by Willis Louie Jianfei Liao

Arcade Game

Presentation Milestone Presentation 1 What is a Physics Engine? Presentation 1 What is a Physics Engine? Presentation 2 How Does It Work? Presentation 2 How Does It Work? Presentation 3 Integration Presentation 3 Integration Presentation 4 Testing and Documentation Presentation 4 Testing and Documentation

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Question: Question: How to implement the physics? How to implement the physics? Answer: Answer: Physics simulation Physics simulation

Simulation Process 1) Create a dynamic world 1) Create a dynamic world 2) Create dynamics bodies 2) Create dynamics bodies 3) Initializations 3) Initializations 4) Step forward in the world 4) Step forward in the world

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Our Timeline

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Applying Physics In order to apply physics we need to know the object properties and attributes In order to apply physics we need to know the object properties and attributes Objects Objects Joints Joints Collision Collision

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Object Properties position vector(x,y,z) – shape,size position vector(x,y,z) – shape,size linear velocity(vx,vy,vz) – movement linear velocity(vx,vy,vz) – movement Orientation – rotation,direction Orientation – rotation,direction Total body mass Total body mass Center of mass(and inertia matrix) Center of mass(and inertia matrix)

Object Properties Geometry objects + Rigid body = simulated object Shape, etc Mass, etc

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Joints, Joints, Joints!!! Joints (relationship between bodies) Joints (relationship between bodies) Can move or turn a certain way only Can move or turn a certain way only Different joints (human vs. robot) Different joints (human vs. robot) Ball, socket, universal joints, etc Ball, socket, universal joints, etc Joints must connect, if not they fly off Joints must connect, if not they fly off Constraint force mixing for soft material Constraint force mixing for soft material

TABLE OF CONTENT 1) Implementation 1) Implementation 2) Timeline / Current Status 2) Timeline / Current Status 3) Concepts 3) Concepts Objects Objects Joints Joints Collision Collision

Collision

Collision Why must we have it?

PING’S LAW Object A crashing into object B = EXPLOSION EXPLOSION = EXCITEMENT

Collision Detection collision detection engine collision detection engine collision detection function – touching or not? collision detection function – touching or not? Checks for contact points Checks for contact points Each contact point creates a contact joint Each contact point creates a contact joint To see what reaction should occur, To see what reaction should occur, Hard or soft, explode or bounce off Hard or soft, explode or bounce off

Collision Detection Each contact point creates a contact joint Each contact point creates a contact joint To see what reaction should occur, To see what reaction should occur, Hard or soft, explode or bounce off Hard or soft, explode or bounce off

Collision Detection Loop Loop Apply forces Apply forces Adjust joints Adjust joints Collision detection Collision detection Create contact joints Create contact joints Carry out action Carry out action Remove all contact joints Remove all contact joints

So…How does it work? Create the world Create the world Using attributes to simulate objects Using attributes to simulate objects Using joints to built complex objects Using joints to built complex objects Check the collision detection Check the collision detection Check the contact joints Check the contact joints If hit blow it up If hit blow it up