Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

0.4.2

Compare
Choose a tag to compare
@DerSchmale DerSchmale released this 26 Aug 16:39
· 256 commits to master since this release

Core:

  • Added HX.Input class to easily map multiple input types to the same actions.
  • Added HX.Mouse, HX.MouseLock, HX.Keyboard, HX.Touch, and HX.Gamepad input types.
  • Refactored HX.FloatController and HX.OrbitController, HX.FPSController to use new Input class, and moved them to the examples.
  • Provided a HX.getGamepads, HX.onGamepadConnected, HX.onGamepadDisconnected methods to manage HX.Gamepad input types.
  • Provided a HX.getVRDisplays wrapper for navigator.getVRDisplays for uniformity.
  • Add signals to HX.VRDisplay to make handling associated handed VR controllers easier.
  • Fix PCF shadow offsets.
  • Fix partition unassignment when detaching objects.
  • Assorted bugfixes

Physics:

  • Added HX_PHYS.CylinderCollider, HX_PHYS.InvertedBoxCollider
  • Handle non-root objects correctly in physics, optimize updates for objects that haven’t moved

Examples:

  • Added TrackedController and TrackHMDController as illustrations of how to handle VR controller/headset tracking
  • Added webvr-interaction, using room-scale and controller interaction to WebVR