Closed srcimon closed 10 months ago
environment().enablePhysics().enableLight()
engine.environment().setup()
.enablePhysics()
.enableRendering()
.enableTweening()
.enableAll()
.FpsLogging()
.gravity(200)
.attachCameraToEnity(41);
solved in main
The engine is lacking a simple way to enable it's core features.
A simple API could look line:
entities().addPhysicsSystems().attachCameraTo(4711)
Maybe special builder pattern for more complex features would be nice.