Skip to content

v5.0.0

Choose a tag to compare

@vanruesc vanruesc released this 29 Sep 22:52
· 214 commits to main since this release

Changelog

Bold text indicates a breaking change.

Core

  • Action
    • Added ROTATE constant.
  • SpatialControls
    • Removed moveTo method.
    • Internal state will now be synchronized with external changes.
    • The method setPosition no longer calls lookAt internally.
    • The method setTarget no longer calls lookAt internally.
    • The method setQuaternion no longer calls lookAt internally.
    • Damping velocities will now be reset when the controls are disabled.
    • Added isEnabled method.

Managers

  • RotationManager & TranslationManager
    • Added resetVelocity method.
  • RotationManager
    • Added getRadius method.
  • TranslationManager
    • Removed moveTo method.

Math

  • ScalarDamper
    • Added resetVelocity method.

Settings

  • Converted KeyBindings into generic Bindings.
  • Damping velocities will now be reset when settings are changed.
  • Settings
    • Pointer button bindings are now configurable via pointerBindings.
  • RotationSettings
    • The minimum and maximum polar angles can now be infinite.