Releases: vanruesc/spatial-controls
Releases · vanruesc/spatial-controls
v6.1.2
Changelog
- RotationControls now properly handles key events. See a0968d6.
v6.1.1
Changelog
- Updated types.
- Fixed constraints not being applied.
v6.1.0
Changelog
- Fixed
pointermove
event handling on iOS.
- Added support for constraints.
- Added
axisWeights
to translation settings. See #5.
- Normalized translation velocity.
v6.0.2
Changelog
- Fixed broken package publish step in CD workflow
v6.0.1
Changelog
- Added
enabled
setting to RotationSettings
Package
v6.0.0
Changelog
Replaced getXYZ
/setXYZ
methods with accessors:
// Example (old)
const settings = controls.settings;
settings.general.setMode(ControlMode.THIRD_PERSON);
settings.rotation.setSensitivity(2.2);
controls.setPosition(x, y, z);
controls.setPosition(otherPosition);
// Example (new)
const settings = controls.settings;
settings.general.mode = ControlMode.THIRD_PERSON;
settings.rotation.sensitivity = 2.2;
controls.position.set(x, y, z);
controls.position = otherPosition;
Package
- Added
types
to exports
- Enabled strict null checks
- Changed ts module resolution to
NodeNext
- Raised minimum node version to
0.16.0
v5.0.8
Changelog
Managers
- RotationManager
- Fixed a regression in
lookAt
. See f945114.
v5.0.7
Changelog
Managers
- RotationManager
- Fixed
lookAt
behaviour in third person mode with pivot offset.
Settings
- Improved documentation for key and pointer bindings.
v5.0.6
Changelog
Managers
- RotationManager
- Fixed pivot offset behaviour.
v5.0.5
Changelog
Updated dependencies.