You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of Components in motion-controllers package updates both values and visuals inside updateFromGamepad. However, in some cases developers might be interested in updating the components with the latest gamepad values only without computing new Visual Responses, for instance if they are using the library only to send out WebXR controller/gamepad events.
Suggested improvement: Move the functionality related to updating the Components values from gamepad (L52 to L96) to a separate public method without changing the existing API.
The text was updated successfully, but these errors were encountered:
The current implementation of Components in motion-controllers package updates both values and visuals inside updateFromGamepad. However, in some cases developers might be interested in updating the components with the latest gamepad values only without computing new Visual Responses, for instance if they are using the library only to send out WebXR controller/gamepad events.
Link to relevant example of a use case (using motion-controllers and three.js)
Link to exact call to package where this would be useful
Suggested improvement: Move the functionality related to updating the Components values from gamepad (L52 to L96) to a separate public method without changing the existing API.
The text was updated successfully, but these errors were encountered: