SlideShare a Scribd company logo
1 of 17
Download to read offline
Game Physics
Game Design and Development
By Hafiz Ammar Siddiqui
4
Game Physics
• Game physics adds laws of physics into a game
• Close approximation of real physics which is implemented with discrete values
• Use of numerical methods using actual physics equations to get the results close to physics
we observe in real life
• Update the state of objects based on physical calculations
• Compute forces and motion of objects in a scene
• Compute mechanical interactions between objects in a scene
• Physics inside a game is usually handled by a physics engine
Basic Physics Terms
• Speed: Rate of change of position with time (scalar)
• Velocity: Rate of change of position with time (vector)
• Acceleration: Rate of change of velocity with time (vector)
• Mass: Amount of matter contained in a body (scalar)
• Force: That changes or tends to change the state of rest or motion of a body (vector)
• Torque: Force that causes rotation of an body around its axis (vector)
• Momentum: Quantity of motion in a moving body or mass in motion (vector)
Mechanics
Statics
Kinematics
Kinetics
Mechanics (Classical Mechanics)
• Branch of physics that is concerned with the motion of bodies, its causes and its effects
• Discipline of physics that quantifies motion, and explain it in terms of forces, energies
and momentums
• Study of motion of bodies when subjected to forces or displacements, and their
subsequent effects on environment
• Mechanics is classified into three main types
• Statics
• Kinematics
• Kinetics
• Study of a body in the state of motion
(without considering the forces causing
the motion)
• There is acceleration in kinematics
• Does not consider mass, force and torque
• Deals with basic geometry of motion
Kinematics
Mechanics
• Study of a body in the state of motion
(considering the forces causing motion)
• There is acceleration in kinetics
• Considers mass, force and torque
• Deals with cause of motion
• Often referred as dynamics
Kinetics
Mechanics
• Study of a body in the state of static equilibrium (rest or in uniform motion)
• There is no acceleration in statics
Statics
Mechanics
Collision Collision Detection
Collision Response
Collision
• A process in which two or more bodies intersect (overlap) with each other or are about
to intersect (overlap) with each other
• Occurs when distance between two or more bodies falls below a threshold value
• In games, bounding volumes (colliders) are used to define the shape of a body for
collision based calculations. A body can have multiple bounding volumes in union.
Box bounding volume Polygon bounding volume Multiple box bounding volumes in union
• Process of determining whether two or more bodies have run into each other or not
• Detects the intersection of two or more bodies or their bounding volumes
• Finds out if two or more bodies or their respective bounding volumes are overlapping
with each other or not
• Computational geometry problem involving the calculation of whether and where two or
more bodies have collided or they are about to collide
• In games, its divided into two basic types
• Discrete Collision: Determine whether bodies are colliding at current time or not
• Continuous Collision: Predict the exact point and time of collision between bodies
Collision Detection
Collision
Collision Detection
Collision
No collision at current time No collision at current time
but upcoming collision in future
Collision at current time Collision at current time
Before
After
Continuous CollisionDiscrete Collision
• How bodies will react to collision
• Simulate what happens when a collision is detected between bodies
• Estimate using laws of physics that what will happen after a collision
• Determines if position, rotation or shape of collided bodies will change or not depending
on the collision
• How motion and shape of bodies will change after they have collided with each other
with respect to their properties
• Process of calculating the resultant forces and accelerations of each body with respect to
its mass after collision
Collision Response
Collision
Object Physics Rigid Body
Soft Body
• A body whose points remain at fixed distances from one another
• It is a dimension based non-deformable body
• Distance between any two points of a rigid body remains constant in time regardless of
external forces exerted on it
• Rigid body translates or rotates as a whole, and there is no relative translation or rotation
among the particles of a rigid body
• It does not change its shape during its motion or when it encounters any collision
• Movement is composed of Linear Trajectory Translation and Relative Rotation
• Examples of rigid body could be a solid brick, stone or rock if we ignore any type of
destruction of respective body
Rigid Body
Object Physics
Rigid Body
Object Physics
Rigid body linear trajectory translation (origin movement) and relative rotation (orientation rotation)
• A body whose points can change their distances from one another
• It is a dimension based deformable body
• Distance between any two points of a soft body changes with respect to the external
forces exerted on it
• Soft body can stretch or compress in any direction, and there is relative translation or
rotation among the particles of a soft body
• It can change its shape during its motion or when it encounters any collision
• Examples of soft body could be a rubber, fabric or jelly if we ignore any type of cutting of
the respective body
Soft Body
Object Physics
Soft Body
Object Physics
Soft body deformation by force
References
• Physics for Game Developers - David M Bourg, Bryan Bywalec
• Game Physics Engine Development - Ian Millington

More Related Content

What's hot

2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)Hafiz Ammar Siddiqui
 
Game Design Document - Step by Step Guide
Game Design Document - Step by Step GuideGame Design Document - Step by Step Guide
Game Design Document - Step by Step GuideDevBatch Inc.
 
A Brief Guide to Game Engines
A Brief Guide to Game EnginesA Brief Guide to Game Engines
A Brief Guide to Game EnginesDavid Parsons
 
Game Balance 1: What is Game Balance
Game Balance 1: What is Game BalanceGame Balance 1: What is Game Balance
Game Balance 1: What is Game BalanceMarc Miquel
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game EngineDiksha Bhargava
 
Video Game Design: Art & Sound
Video Game Design: Art & SoundVideo Game Design: Art & Sound
Video Game Design: Art & SoundKevin Duggan
 
Game Design - Lecture 1
Game Design - Lecture 1Game Design - Lecture 1
Game Design - Lecture 1Andrea Resmini
 
The Principles of Game Design
The Principles of Game DesignThe Principles of Game Design
The Principles of Game DesignInstantTechInfo
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsPouya Pournasir
 
The basics of Game Design - How to design a video game
The basics of Game Design - How to design a video gameThe basics of Game Design - How to design a video game
The basics of Game Design - How to design a video gameJuan Gabriel Gomila Salas
 
Game optimization techniques - Most Commons
Game optimization techniques - Most CommonsGame optimization techniques - Most Commons
Game optimization techniques - Most Commonsniraj vishwakarma
 
Understanding casual games
Understanding casual gamesUnderstanding casual games
Understanding casual gamesDori Adar
 
An Introduction To Game development
An Introduction To Game developmentAn Introduction To Game development
An Introduction To Game developmentAhmed
 
game development
game  developmentgame  development
game developmentumair khan
 
Mechanics, dynamics, aesthetics
Mechanics, dynamics, aestheticsMechanics, dynamics, aesthetics
Mechanics, dynamics, aestheticsEben Muse
 
Future Of Video Games
Future Of Video GamesFuture Of Video Games
Future Of Video GamesJigna Choksi
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignPrashant Warrier
 
Process of Game Design
Process of Game DesignProcess of Game Design
Process of Game DesignVincent Clyde
 
Games design media assets
Games design media assetsGames design media assets
Games design media assetsmissstevenson01
 

What's hot (20)

2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)
 
What Goes Behind Sound Design in Games
What Goes Behind Sound Design in GamesWhat Goes Behind Sound Design in Games
What Goes Behind Sound Design in Games
 
Game Design Document - Step by Step Guide
Game Design Document - Step by Step GuideGame Design Document - Step by Step Guide
Game Design Document - Step by Step Guide
 
A Brief Guide to Game Engines
A Brief Guide to Game EnginesA Brief Guide to Game Engines
A Brief Guide to Game Engines
 
Game Balance 1: What is Game Balance
Game Balance 1: What is Game BalanceGame Balance 1: What is Game Balance
Game Balance 1: What is Game Balance
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game Engine
 
Video Game Design: Art & Sound
Video Game Design: Art & SoundVideo Game Design: Art & Sound
Video Game Design: Art & Sound
 
Game Design - Lecture 1
Game Design - Lecture 1Game Design - Lecture 1
Game Design - Lecture 1
 
The Principles of Game Design
The Principles of Game DesignThe Principles of Game Design
The Principles of Game Design
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & Components
 
The basics of Game Design - How to design a video game
The basics of Game Design - How to design a video gameThe basics of Game Design - How to design a video game
The basics of Game Design - How to design a video game
 
Game optimization techniques - Most Commons
Game optimization techniques - Most CommonsGame optimization techniques - Most Commons
Game optimization techniques - Most Commons
 
Understanding casual games
Understanding casual gamesUnderstanding casual games
Understanding casual games
 
An Introduction To Game development
An Introduction To Game developmentAn Introduction To Game development
An Introduction To Game development
 
game development
game  developmentgame  development
game development
 
Mechanics, dynamics, aesthetics
Mechanics, dynamics, aestheticsMechanics, dynamics, aesthetics
Mechanics, dynamics, aesthetics
 
Future Of Video Games
Future Of Video GamesFuture Of Video Games
Future Of Video Games
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game Design
 
Process of Game Design
Process of Game DesignProcess of Game Design
Process of Game Design
 
Games design media assets
Games design media assetsGames design media assets
Games design media assets
 

Similar to Game Physics Simulation

Clinical biomechanics
Clinical biomechanicsClinical biomechanics
Clinical biomechanicsravi2711
 
biomechanics and mechanics 1.pptx
biomechanics and mechanics 1.pptxbiomechanics and mechanics 1.pptx
biomechanics and mechanics 1.pptxFrancisEtseyDushie
 
Glossary of spinal deformity biomechanical terms
Glossary of spinal deformity biomechanical termsGlossary of spinal deformity biomechanical terms
Glossary of spinal deformity biomechanical termsHasan Arif Raihan
 
Introduction to kinesiology (Biomechanics- Physiotherapy)
Introduction to kinesiology (Biomechanics- Physiotherapy) Introduction to kinesiology (Biomechanics- Physiotherapy)
Introduction to kinesiology (Biomechanics- Physiotherapy) vandana7381
 
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptx
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptxSYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptx
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptxGiridhar D
 
class-11, ch-6 ( system of particles and rotational motion).pptx
class-11, ch-6 ( system of particles and rotational motion).pptxclass-11, ch-6 ( system of particles and rotational motion).pptx
class-11, ch-6 ( system of particles and rotational motion).pptxbablivashisht
 
Kinetic Concepts for Analyzing Human Motion. (Biomechanics)
Kinetic Concepts forAnalyzing Human Motion. (Biomechanics)Kinetic Concepts forAnalyzing Human Motion. (Biomechanics)
Kinetic Concepts for Analyzing Human Motion. (Biomechanics)Muhammadasif909
 
Basics Of Engineering
Basics Of EngineeringBasics Of Engineering
Basics Of Engineeringprudhvi rahul
 
Basics Of engineering
Basics Of engineeringBasics Of engineering
Basics Of engineeringprudhvi rahul
 
#Engineering Mechanics Previous Question papers two marks questions and answers
#Engineering Mechanics Previous Question papers two marks questions and answers#Engineering Mechanics Previous Question papers two marks questions and answers
#Engineering Mechanics Previous Question papers two marks questions and answersMOKSHIT TECH
 
Physic Module PPT
Physic Module PPTPhysic Module PPT
Physic Module PPTboysarena
 
Digital content of applied mechanics
Digital content of applied mechanics Digital content of applied mechanics
Digital content of applied mechanics Warish Khan
 

Similar to Game Physics Simulation (20)

Clinical biomechanics
Clinical biomechanicsClinical biomechanics
Clinical biomechanics
 
biomechanics and mechanics 1.pptx
biomechanics and mechanics 1.pptxbiomechanics and mechanics 1.pptx
biomechanics and mechanics 1.pptx
 
Glossary of spinal deformity biomechanical terms
Glossary of spinal deformity biomechanical termsGlossary of spinal deformity biomechanical terms
Glossary of spinal deformity biomechanical terms
 
Introduction to kinesiology (Biomechanics- Physiotherapy)
Introduction to kinesiology (Biomechanics- Physiotherapy) Introduction to kinesiology (Biomechanics- Physiotherapy)
Introduction to kinesiology (Biomechanics- Physiotherapy)
 
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptx
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptxSYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptx
SYSTEM OF PARTICLES AND ROTATIONAL MOTION.pptx
 
class-11, ch-6 ( system of particles and rotational motion).pptx
class-11, ch-6 ( system of particles and rotational motion).pptxclass-11, ch-6 ( system of particles and rotational motion).pptx
class-11, ch-6 ( system of particles and rotational motion).pptx
 
Basic biomechanics
Basic biomechanicsBasic biomechanics
Basic biomechanics
 
bio mechanics.pptx
bio mechanics.pptxbio mechanics.pptx
bio mechanics.pptx
 
Kinetic Concepts for Analyzing Human Motion. (Biomechanics)
Kinetic Concepts forAnalyzing Human Motion. (Biomechanics)Kinetic Concepts forAnalyzing Human Motion. (Biomechanics)
Kinetic Concepts for Analyzing Human Motion. (Biomechanics)
 
Basics Of Engineering
Basics Of EngineeringBasics Of Engineering
Basics Of Engineering
 
Basics Of engineering
Basics Of engineeringBasics Of engineering
Basics Of engineering
 
#Engineering Mechanics Previous Question papers two marks questions and answers
#Engineering Mechanics Previous Question papers two marks questions and answers#Engineering Mechanics Previous Question papers two marks questions and answers
#Engineering Mechanics Previous Question papers two marks questions and answers
 
law of mechanics
 law of mechanics law of mechanics
law of mechanics
 
Physic Module PPT
Physic Module PPTPhysic Module PPT
Physic Module PPT
 
Biomechanics 3 2014
Biomechanics 3 2014Biomechanics 3 2014
Biomechanics 3 2014
 
Digital content of applied mechanics
Digital content of applied mechanics Digital content of applied mechanics
Digital content of applied mechanics
 
Biomechanics in sports
Biomechanics in sportsBiomechanics in sports
Biomechanics in sports
 
Laws of mechanics
Laws of mechanicsLaws of mechanics
Laws of mechanics
 
Force
ForceForce
Force
 
Biomechanics 3
Biomechanics 3Biomechanics 3
Biomechanics 3
 

More from Hafiz Ammar Siddiqui

10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...Hafiz Ammar Siddiqui
 
9-Software Verification and Validation (Object Oriented Software Engineering ...
9-Software Verification and Validation (Object Oriented Software Engineering ...9-Software Verification and Validation (Object Oriented Software Engineering ...
9-Software Verification and Validation (Object Oriented Software Engineering ...Hafiz Ammar Siddiqui
 
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)Hafiz Ammar Siddiqui
 
9-Game Design (Game Development - UMT Spring 2017/2018)
9-Game Design (Game Development - UMT Spring 2017/2018)9-Game Design (Game Development - UMT Spring 2017/2018)
9-Game Design (Game Development - UMT Spring 2017/2018)Hafiz Ammar Siddiqui
 
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...Hafiz Ammar Siddiqui
 
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...Hafiz Ammar Siddiqui
 
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...Hafiz Ammar Siddiqui
 
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...Hafiz Ammar Siddiqui
 
6-Animation in Game (Game Development - UMT Spring 2017/2018)
6-Animation in Game (Game Development - UMT Spring 2017/2018)6-Animation in Game (Game Development - UMT Spring 2017/2018)
6-Animation in Game (Game Development - UMT Spring 2017/2018)Hafiz Ammar Siddiqui
 
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)Hafiz Ammar Siddiqui
 
3-Graphics in Game (Game Development - UMT Spring 2017/2018)
3-Graphics in Game (Game Development - UMT Spring 2017/2018)3-Graphics in Game (Game Development - UMT Spring 2017/2018)
3-Graphics in Game (Game Development - UMT Spring 2017/2018)Hafiz Ammar Siddiqui
 
1-Introduction to Software Engineering (Object Oriented Software Engineering ...
1-Introduction to Software Engineering (Object Oriented Software Engineering ...1-Introduction to Software Engineering (Object Oriented Software Engineering ...
1-Introduction to Software Engineering (Object Oriented Software Engineering ...Hafiz Ammar Siddiqui
 
1-Introduction (Game Development - UMT Spring 2017/2018)
1-Introduction (Game Development - UMT Spring 2017/2018)1-Introduction (Game Development - UMT Spring 2017/2018)
1-Introduction (Game Development - UMT Spring 2017/2018)Hafiz Ammar Siddiqui
 

More from Hafiz Ammar Siddiqui (13)

10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
 
9-Software Verification and Validation (Object Oriented Software Engineering ...
9-Software Verification and Validation (Object Oriented Software Engineering ...9-Software Verification and Validation (Object Oriented Software Engineering ...
9-Software Verification and Validation (Object Oriented Software Engineering ...
 
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)
7-Refactoring (Object Oriented Software Engineering - BNU Spring 2017)
 
9-Game Design (Game Development - UMT Spring 2017/2018)
9-Game Design (Game Development - UMT Spring 2017/2018)9-Game Design (Game Development - UMT Spring 2017/2018)
9-Game Design (Game Development - UMT Spring 2017/2018)
 
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...
6-Software Design Reviews (Object Oriented Software Engineering - BNU Spring ...
 
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...
5-Object Oriented Analysis (Object Oriented Software Engineering - BNU Spring...
 
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...
4-Object Oriented Design Heuristics (Object Oriented Software Engineering - B...
 
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...
3-Software Anti Design Patterns (Object Oriented Software Engineering - BNU S...
 
6-Animation in Game (Game Development - UMT Spring 2017/2018)
6-Animation in Game (Game Development - UMT Spring 2017/2018)6-Animation in Game (Game Development - UMT Spring 2017/2018)
6-Animation in Game (Game Development - UMT Spring 2017/2018)
 
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)
2-Software Design (Object Oriented Software Engineering - BNU Spring 2017)
 
3-Graphics in Game (Game Development - UMT Spring 2017/2018)
3-Graphics in Game (Game Development - UMT Spring 2017/2018)3-Graphics in Game (Game Development - UMT Spring 2017/2018)
3-Graphics in Game (Game Development - UMT Spring 2017/2018)
 
1-Introduction to Software Engineering (Object Oriented Software Engineering ...
1-Introduction to Software Engineering (Object Oriented Software Engineering ...1-Introduction to Software Engineering (Object Oriented Software Engineering ...
1-Introduction to Software Engineering (Object Oriented Software Engineering ...
 
1-Introduction (Game Development - UMT Spring 2017/2018)
1-Introduction (Game Development - UMT Spring 2017/2018)1-Introduction (Game Development - UMT Spring 2017/2018)
1-Introduction (Game Development - UMT Spring 2017/2018)
 

Recently uploaded

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 

Recently uploaded (20)

Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 

Game Physics Simulation

  • 1. Game Physics Game Design and Development By Hafiz Ammar Siddiqui 4
  • 2. Game Physics • Game physics adds laws of physics into a game • Close approximation of real physics which is implemented with discrete values • Use of numerical methods using actual physics equations to get the results close to physics we observe in real life • Update the state of objects based on physical calculations • Compute forces and motion of objects in a scene • Compute mechanical interactions between objects in a scene • Physics inside a game is usually handled by a physics engine
  • 3. Basic Physics Terms • Speed: Rate of change of position with time (scalar) • Velocity: Rate of change of position with time (vector) • Acceleration: Rate of change of velocity with time (vector) • Mass: Amount of matter contained in a body (scalar) • Force: That changes or tends to change the state of rest or motion of a body (vector) • Torque: Force that causes rotation of an body around its axis (vector) • Momentum: Quantity of motion in a moving body or mass in motion (vector)
  • 5. Mechanics (Classical Mechanics) • Branch of physics that is concerned with the motion of bodies, its causes and its effects • Discipline of physics that quantifies motion, and explain it in terms of forces, energies and momentums • Study of motion of bodies when subjected to forces or displacements, and their subsequent effects on environment • Mechanics is classified into three main types • Statics • Kinematics • Kinetics
  • 6. • Study of a body in the state of motion (without considering the forces causing the motion) • There is acceleration in kinematics • Does not consider mass, force and torque • Deals with basic geometry of motion Kinematics Mechanics • Study of a body in the state of motion (considering the forces causing motion) • There is acceleration in kinetics • Considers mass, force and torque • Deals with cause of motion • Often referred as dynamics Kinetics Mechanics • Study of a body in the state of static equilibrium (rest or in uniform motion) • There is no acceleration in statics Statics Mechanics
  • 8. Collision • A process in which two or more bodies intersect (overlap) with each other or are about to intersect (overlap) with each other • Occurs when distance between two or more bodies falls below a threshold value • In games, bounding volumes (colliders) are used to define the shape of a body for collision based calculations. A body can have multiple bounding volumes in union. Box bounding volume Polygon bounding volume Multiple box bounding volumes in union
  • 9. • Process of determining whether two or more bodies have run into each other or not • Detects the intersection of two or more bodies or their bounding volumes • Finds out if two or more bodies or their respective bounding volumes are overlapping with each other or not • Computational geometry problem involving the calculation of whether and where two or more bodies have collided or they are about to collide • In games, its divided into two basic types • Discrete Collision: Determine whether bodies are colliding at current time or not • Continuous Collision: Predict the exact point and time of collision between bodies Collision Detection Collision
  • 10. Collision Detection Collision No collision at current time No collision at current time but upcoming collision in future Collision at current time Collision at current time Before After Continuous CollisionDiscrete Collision
  • 11. • How bodies will react to collision • Simulate what happens when a collision is detected between bodies • Estimate using laws of physics that what will happen after a collision • Determines if position, rotation or shape of collided bodies will change or not depending on the collision • How motion and shape of bodies will change after they have collided with each other with respect to their properties • Process of calculating the resultant forces and accelerations of each body with respect to its mass after collision Collision Response Collision
  • 12. Object Physics Rigid Body Soft Body
  • 13. • A body whose points remain at fixed distances from one another • It is a dimension based non-deformable body • Distance between any two points of a rigid body remains constant in time regardless of external forces exerted on it • Rigid body translates or rotates as a whole, and there is no relative translation or rotation among the particles of a rigid body • It does not change its shape during its motion or when it encounters any collision • Movement is composed of Linear Trajectory Translation and Relative Rotation • Examples of rigid body could be a solid brick, stone or rock if we ignore any type of destruction of respective body Rigid Body Object Physics
  • 14. Rigid Body Object Physics Rigid body linear trajectory translation (origin movement) and relative rotation (orientation rotation)
  • 15. • A body whose points can change their distances from one another • It is a dimension based deformable body • Distance between any two points of a soft body changes with respect to the external forces exerted on it • Soft body can stretch or compress in any direction, and there is relative translation or rotation among the particles of a soft body • It can change its shape during its motion or when it encounters any collision • Examples of soft body could be a rubber, fabric or jelly if we ignore any type of cutting of the respective body Soft Body Object Physics
  • 16. Soft Body Object Physics Soft body deformation by force
  • 17. References • Physics for Game Developers - David M Bourg, Bryan Bywalec • Game Physics Engine Development - Ian Millington