@onerjs/core 8.47.2 → 8.47.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cameras/geospatialCameraMovement.js +4 -5
- package/Cameras/geospatialCameraMovement.js.map +1 -1
- package/Layers/thinSelectionOutlineLayer.d.ts +1 -0
- package/Layers/thinSelectionOutlineLayer.js +15 -3
- package/Layers/thinSelectionOutlineLayer.js.map +1 -1
- package/Meshes/abstractMesh.d.ts +8 -1
- package/Meshes/abstractMesh.js +9 -2
- package/Meshes/abstractMesh.js.map +1 -1
- package/Meshes/mesh.js +2 -2
- package/Meshes/mesh.js.map +1 -1
- package/Physics/v2/characterController.d.ts +5 -0
- package/Physics/v2/characterController.js +6 -0
- package/Physics/v2/characterController.js.map +1 -1
- package/XR/webXRSessionManager.js +7 -5
- package/XR/webXRSessionManager.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { type Scene } from "../../scene.js";
|
|
|
3
3
|
import { type DeepImmutableObject } from "../../types.js";
|
|
4
4
|
import { PhysicsBody } from "./physicsBody.js";
|
|
5
5
|
import { type PhysicsShape } from "./physicsShape.js";
|
|
6
|
+
import { TransformNode } from "../../Meshes/transformNode.js";
|
|
6
7
|
import { Observable } from "../../Misc/observable.js";
|
|
7
8
|
/**
|
|
8
9
|
* Shape properties for the character controller
|
|
@@ -296,6 +297,10 @@ export declare class PhysicsCharacterController {
|
|
|
296
297
|
private _stepCollector;
|
|
297
298
|
private _stepUpCollector;
|
|
298
299
|
private _displacementEps;
|
|
300
|
+
/**
|
|
301
|
+
* The transformNode of the controller
|
|
302
|
+
*/
|
|
303
|
+
get transformNode(): TransformNode;
|
|
299
304
|
/**
|
|
300
305
|
* instanciate a new characterController
|
|
301
306
|
* @param position Initial position
|
|
@@ -64,6 +64,12 @@ function ContactFromCast(hp, cp /*ContactPoint*/, castPath, hitFraction, keepDis
|
|
|
64
64
|
* Character controller using physics
|
|
65
65
|
*/
|
|
66
66
|
export class PhysicsCharacterController {
|
|
67
|
+
/**
|
|
68
|
+
* The transformNode of the controller
|
|
69
|
+
*/
|
|
70
|
+
get transformNode() {
|
|
71
|
+
return this._transformNode;
|
|
72
|
+
}
|
|
67
73
|
/**
|
|
68
74
|
* instanciate a new characterController
|
|
69
75
|
* @param position Initial position
|