@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.
@@ -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