Ybalrid / Annwvyn

Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
MIT License
41 stars 7 forks source link

Move the collision shape construction code from the GameObjects to the PhysicsEngine #137

Closed Ybalrid closed 7 years ago

Ybalrid commented 7 years ago

Currently, each game object is responsible to create a BtOgre::StaticMeshToShapeConverter and use it to get the wanted physics shape approximation.

Move that logic to the AnnPhysicsEngine class, where it belongs.