Dargish / GLRender

Deferred HDR PBR renderer in OpenGL
16 stars 2 forks source link

Animation Component/System #16

Open Dargish opened 9 years ago

Dargish commented 9 years ago

A simple animation would just change the property of another component, can be passed the world and entity ID and ensure that the component exists. For example rotate an object by retrieving the transform component and modifying it.

All animations be they simple, skeleton etc will derive from a base Animation class which will be held in the component. The system itself will be quite simple and just store a list of these and call their update method.