|
@@ -72891,10 +72891,12 @@ declare module "babylonjs/XR/features/WebXRControllerPhysics" {
|
|
|
* Get the physics impostor of a specific controller.
|
|
|
* The impostor is not attached to a mesh because a mesh for each controller is not obligatory
|
|
|
* @param controller the controller or the controller id of which to get the impostor
|
|
|
+ * @returns the impostor or null
|
|
|
*/
|
|
|
getImpostorForController(controller: WebXRInputSource | string): Nullable<PhysicsImpostor>;
|
|
|
/**
|
|
|
* Get the headset impostor, if enabled
|
|
|
+ * @returns the impostor
|
|
|
*/
|
|
|
getHeadsetImpostor(): PhysicsImpostor | undefined;
|
|
|
/**
|
|
@@ -142420,10 +142422,12 @@ declare module BABYLON {
|
|
|
* Get the physics impostor of a specific controller.
|
|
|
* The impostor is not attached to a mesh because a mesh for each controller is not obligatory
|
|
|
* @param controller the controller or the controller id of which to get the impostor
|
|
|
+ * @returns the impostor or null
|
|
|
*/
|
|
|
getImpostorForController(controller: WebXRInputSource | string): Nullable<PhysicsImpostor>;
|
|
|
/**
|
|
|
* Get the headset impostor, if enabled
|
|
|
+ * @returns the impostor
|
|
|
*/
|
|
|
getHeadsetImpostor(): PhysicsImpostor | undefined;
|
|
|
/**
|