Skip to content

v6.0.0

Compare
Choose a tag to compare
@vanruesc vanruesc released this 27 Dec 14:44
· 49 commits to main since this release

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