babylonjs-toolkit 9.12.1011 → 9.12.1101

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.
@@ -7,7 +7,7 @@ declare namespace TOOLKIT {
7
7
  * @class SceneManager - All rights reserved (c) 2024 Mackey Kinard
8
8
  */
9
9
  class SceneManager {
10
- /** Gets the toolkit framework version string (9.12.1011 - R1) */
10
+ /** Gets the toolkit framework version string (9.12.1101 - R1) */
11
11
  static get Version(): string;
12
12
  /** Gets the toolkit framework copyright notice */
13
13
  static get Copyright(): string;
@@ -8587,6 +8587,7 @@ declare namespace TOOLKIT {
8587
8587
  class NavigationAgent extends TOOLKIT.ScriptComponent {
8588
8588
  static TARGET_ANGLE_FACTOR: number;
8589
8589
  static ANGULAR_SPEED_RATIO: number;
8590
+ static BRAKING_CUSHION_FACTOR: number;
8590
8591
  static GLOBAL_CROWD_INSTANCE: boolean;
8591
8592
  private crowd;
8592
8593
  private type;
@@ -8615,6 +8616,7 @@ declare namespace TOOLKIT {
8615
8616
  private m_reachObserver;
8616
8617
  private m_navMeshDestroyObserver;
8617
8618
  speed: number;
8619
+ reachRadius: number;
8618
8620
  heightOffset: number;
8619
8621
  angularSpeed: number;
8620
8622
  updatePosition: boolean;
@@ -8623,8 +8625,10 @@ declare namespace TOOLKIT {
8623
8625
  velocityEpsilon: number;
8624
8626
  offMeshVelocity: number;
8625
8627
  stoppingDistance: number;
8626
- reachRadius: number;
8628
+ minLookAtDistance: number;
8629
+ enableLookAtDistance: boolean;
8627
8630
  stuckFrameThreshold: number;
8631
+ updateFlags: number;
8628
8632
  isReady(): boolean;
8629
8633
  isNavigating(): boolean;
8630
8634
  isTeleporting(): boolean;
@@ -8669,7 +8673,9 @@ declare namespace TOOLKIT {
8669
8673
  protected destroy(): void;
8670
8674
  private awakeNavigationAgent;
8671
8675
  private updateNavigationAgent;
8676
+ private getLookAtStopDistance;
8672
8677
  private updateAgentParameters;
8678
+ private applyAgentUpdateFlags;
8673
8679
  private destroyNavigationAgent;
8674
8680
  /** Move agent relative to current position. */
8675
8681
  move(offset: BABYLON.Vector3, closetPoint?: boolean): void;
@@ -8687,6 +8693,9 @@ declare namespace TOOLKIT {
8687
8693
  setOptimizationRange(range: number): void;
8688
8694
  /** Sets agent current collision query range (Defines how close a collision element must be before it is considered for steering behaviors). */
8689
8695
  setCollisionQueryRange(range: number): void;
8696
+ /** Sets the Detour crowd update flags bitmask (ANTICIPATE_TURNS=1, OBSTACLE_AVOIDANCE=2,
8697
+ * SEPARATION=4, OPTIMIZE_VIS=8, OPTIMIZE_TOPO=16). Use 0 for a single agent to avoid doorway crawl/stall. */
8698
+ setUpdateFlags(flags: number): void;
8690
8699
  /** Sets agent current radius. */
8691
8700
  setAgentRadius(radius: number): void;
8692
8701
  /** Sets agent current height. */