Skip to content

Releases: vanruesc/spatial-controls

v6.1.2

28 Jun 19:04
Compare
Choose a tag to compare

Changelog

  • RotationControls now properly handles key events. See a0968d6.

v6.1.1

01 Oct 17:00
Compare
Choose a tag to compare

Changelog

  • Updated types.
  • Fixed constraints not being applied.

v6.1.0

30 Jun 20:24
Compare
Choose a tag to compare

Changelog

  • Fixed pointermove event handling on iOS.
  • Added support for constraints.
  • Added axisWeights to translation settings. See #5.
  • Normalized translation velocity.

v6.0.2

04 Jun 16:11
Compare
Choose a tag to compare

Changelog

  • Fixed broken package publish step in CD workflow

v6.0.1

04 Jun 15:44
Compare
Choose a tag to compare

Changelog

  • Added enabled setting to RotationSettings

Package

  • Adjusted exports field

v6.0.0

27 Dec 14:44
Compare
Choose a tag to compare

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

09 Dec 15:17
Compare
Choose a tag to compare

Changelog

Managers

  • RotationManager
    • Fixed a regression in lookAt. See f945114.

v5.0.7

09 Dec 14:30
Compare
Choose a tag to compare

Changelog

Managers

  • RotationManager
    • Fixed lookAt behaviour in third person mode with pivot offset.

Settings

  • Improved documentation for key and pointer bindings.

v5.0.6

09 Dec 13:32
Compare
Choose a tag to compare

Changelog

Managers

  • RotationManager
    • Fixed pivot offset behaviour.

v5.0.5

06 Dec 14:19
Compare
Choose a tag to compare

Changelog

Updated dependencies.