v0.6.16
New:
- Typescript support
- The library is finally compatible with typescript
- It's a work in progress, so not all files have been converted yet
- Type extensions are now typed, so you can do
this.object.pp_setPositionLocal
and typescript will be able to type that
- Added
pp-cursor-button
to make an object work like a 3D button that can be clicked with the cursor and is also animated - Added
AnimatedNumber
which lets you easily specify an initial and a target value that will be reached over time - Added
OverlapCursorComponent
which works by pressing a button when it overlaps it's collider (FingerCursorComponent
is an example of this)
Edit:
SceneUtils
,getScene
and the scene extension have been removed- You can still do
Globals.getRootObject()
to perform all sort of scene searches - The root is, by default, the
Scene
object, so you can't anymore do "true" root searches due to how the Wonderland Engine is going to manage scene roots- Be careful to put every object inside the
Scene
object if you want to be able to find it through theGlobals.getRootObject()
object - You can specify a different
Root
object on thepp-gateway
component
- Be careful to put every object inside the
- You can still do
- The Grab & Throw now also works with the tracked hand pinch gesture
- Improved the
pp-finger-cursor
component - Changed
CloneParams
toObjectCloneParams
- You can now specify if the raycast should it or not triggers with
RaycastParams
- Locomotion improvements and fixes