Releases: vanruesc/spatial-controls
Releases · vanruesc/spatial-controls
v5.0.4
v5.0.3
v5.0.2
v5.0.1
Changelog
Core
- SpatialControls
- Changed visibility of
setPointerLocked
method to public. - Added
setRotationEnabled
method. - Fixed a bug that limited
Action.ROTATE
to pointer button bindings.
- Changed visibility of
Strategies
- Strategy
- Added optional
event
parameter.
- Added optional
- Added
RotationStrategy
Miscellaneous
- Updated dependencies.
v5.0.0
Changelog
Bold text indicates a breaking change.
Core
- Action
- Added
ROTATE
constant.
- Added
- SpatialControls
- Removed
moveTo
method. - Internal state will now be synchronized with external changes.
- The method
setPosition
no longer callslookAt
internally. - The method
setTarget
no longer callslookAt
internally. - The method
setQuaternion
no longer callslookAt
internally. - Damping velocities will now be reset when the controls are disabled.
- Added
isEnabled
method.
- Removed
Managers
- RotationManager & TranslationManager
- Added
resetVelocity
method.
- Added
- RotationManager
- Added
getRadius
method.
- Added
- TranslationManager
- Removed
moveTo
method.
- Removed
Math
- ScalarDamper
- Added
resetVelocity
method.
- Added
Settings
- Converted
KeyBindings
into genericBindings
. - Damping velocities will now be reset when settings are changed.
- Settings
- Pointer button bindings are now configurable via
pointerBindings
.
- Pointer button bindings are now configurable via
- RotationSettings
- The minimum and maximum polar angles can now be infinite.
v4.3.2
v4.3.1
v4.3.0
Changelog
Core & Input
- Switched to Pointer events.
- Added
PointerType
enum. - Pointer lock will now only activate if the pointer type is
PointerType.MOUSE
.
- Added
Managers & Settings
- Implemented damping for rotation, zoom and translation. See #3.
- Adjusted the rate at which events are dispatched by the translation manager.
Miscellaneous
- Added
ScalarDamper
. - Updated dependencies.