Closed Dante-666 closed 3 years ago
We need a PhysicsEntity decorated by a Chain of Responsibility pattern to allow custom and intertwined effects. Create this and include it in the factory while keeping RigidEntity to avoid merging issues and when done. Add more effects. Less code and more work done.
The design makes sense. First need to add simple behavior to Opaqueness in the Physics realm, whether to make the body ghost-like or Rigid.
I should be able to create and manipulate a physics object via PEngine via the scene.any file.
This can be made to work with an object and behaviour enabled/disabled in runtime. Extreme flexibility. How to make m_scene accessible to these behavioral entities could require some thought.