Skip to content

massimilianogaio/OpenGl-Collision2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

OpenGl-Collision2D

Simple 2D collision system for 2D shapes. A shape consists of a Transform for position transformations and a RigidBody for calculating physics. Each shape The collision is resolved according to Elastic collision, in which the total kinetic energy of the two bodies remains the same. Each shape is characterized by a random color, direction and size. The mass and acceleration are dependent on its size.

Demo

demoCollision.mp4

About

Repo to practice with opengl and C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages