Kerby64
    Preparing search index...

    Class representing a Koomba entity in the game.
    This class extends the GameEntity class and provides specific functionality for the Koomba character.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    animations: Record<string, AnimationGroup> = {}
    baseSourceURI: string = "./assets/models/"
    components: Component[] = []
    isDisposed: boolean = false
    mesh?: Mesh
    name: string
    scene: LevelScene
    Animation: { Walk: "Take 001" } = ...

    Accessors

    • get meshRef(): Mesh

      this is probably not the good way to do what you want to do, considering you're using this. make a new method that do what you want instead of using this

      Returns Mesh

    • get position(): Vector3

      Returns Vector3

    • set position(position: Vector3): void

      Parameters

      • position: Vector3

      Returns void

    • get rotation(): Vector3

      Returns Vector3

    • set rotation(rotation: Vector3): void

      Parameters

      • rotation: Vector3

      Returns void

    Methods

    • Parameters

      • Optionalname: string
      • Optionalposition: Vector3
      • Optionalrotation: Vector3
      • cloneComponents: boolean = false

      Returns Koomba

    • Parameters

      • Optionalposition: Vector3
      • Optionalrotation: Vector3

      Returns Promise<void>