Skip to content

v0.0.10

Compare
Choose a tag to compare
@Gugustinette Gugustinette released this 22 Oct 22:44
· 16 commits to main since this release

🚀 Features

  • Refactor the API to hide every third-party related objects as __INTERNALS__
    • physic system : hide every Rapier object
    • components : hide meshes, textures, containers,...
    • 3d camera : hide Three.js camera
  • Refactor transform system
    • FTransform(which correspond to the transform property) should now be used directly to modify attached-object (component, light, camera, colliders, rigidbodies,...) transforms
    • Wrappers like initCollider or initRigidBody now are short-hand to "create then attach object"
    • Introduce FVector3d and FVector2d types for consistency
    • Everything should be reactive
  • Add onLoaded callback feature on all FComponents
  • Add autoLoop option on FScene to turn off automatic frame compute each frame
    • This is useful for test environment but will also be used in the future for creating debug features (manipulating the scene frame per frame...)
  • Components and lights are now added to scene by default
    • Add addToScene option on FComponent to turn off adding components to the scene automatically
  • Normalize frame and onFrame behavior on FComponent and FScene
    • onFrame takes a callback function that will be called each frame
    • frame computes the new properties for the object on a new frame
  • Add FRigidBodyType enum to replace the RAPIER one

🏡 Chore

  • Configure and create tests
    • Configure coverage
  • Update documentation

❤️ Thank You