rzsavilla / BlobsonicEngine

Group Project: 3D OpenGL Game Engine
GNU General Public License v3.0
2 stars 0 forks source link

Physics as a component #7

Open Football1995 opened 7 years ago

Football1995 commented 7 years ago

Classes (OBB AABB Sphere and Capsule) all need to be engineered so that they can be attached to an object, giving them their characteristics.

Some tasks to achieve:

Football1995 commented 7 years ago

Physical Class added. Only a basic class for now.

rzsavilla commented 7 years ago

Awesome I can show you how to turn that into a component on Friday.

Football1995 commented 7 years ago

UPDATE

Sphere , OBB , AABB are all now components. And the physics system checks for collisions between AABB -AABB
OBB - OBB Sphere - Sphere Sphere - OBB

Football1995 commented 7 years ago

Objects can have any of the Sphere , OBB , AABB components attached to them. next task is to create capsule component.