Skip to content

v0.6.3

Latest
Compare
Choose a tag to compare
@hanbollar hanbollar released this 06 May 23:58
· 75 commits to main since this release

v0.6.3 🥳

New Features:

  • animation: add ability to...
    • have multiple animations in a model
    • have multiple layers of mesh and animations in a model
    • play specific one or all animation clips of a model
    • loop an animation more than once in a few different ways (loopMode)[https://docs.mrjs.io/attributes/data-comp-animation/#loopmode] and with a specified loop count
    • add ability for an animation to end and stay on its final frame, instead of defaulting back with reset , clampWhenFinished
  • add ability to access :root css variables directly in the code for better shared usage across html/css/js

Fixes:

  • add garbage collection update for mr-entity on disconnectedCallback. (fix memory leak)
  • change data-comp-audio's parameter name state-->action to better match the animation system going forward
  • fixed an infinite loop bug in the GeometryStyleSystem
  • fixed the pointer events for physics mesh interactions
  • fix for physics collider fit on model-load
  • fix s.t. components are serialized properly (position, rotation, etc)
  • fix for entities not being properly cleaned up after being removed from the scene

Misc:

  • work on mr-textarea and mr-textfield (in the javascript, but not yet in the documentation as it's a large and close to finished feature) - to be re-exposed soon as some work is still pending for mvp. [fixes: vertical scrolling, cursor matching, text-size, proper wrapping with enter, etc]
    • large update to the models example for all of the changes based on this release (animation, etc)