UNPKG

prendy

Version:

Make games with prerendered backdrops using babylonjs and repond

11 lines (10 loc) 962 B
import { Vector3 } from "@babylonjs/core"; import { AnimationNameFromCharacter, CharacterName } from "../../types"; export declare function setCharAnimation<T_Character extends CharacterName>(character: T_Character, animation: AnimationNameFromCharacter<T_Character>): void; export declare function setCharPosition(charName: CharacterName, newPosition: Vector3): void; export declare function setCharRotationY(charName: CharacterName, newRotationY: number): void; export declare function springCharRotation(charName: CharacterName, newRotationY: number): void; export declare function springAddToCharRotationY(charName: CharacterName, addedRotation: number): void; export declare function lookAtOtherCharacter(charA: CharacterName, charB?: CharacterName): void; export declare function lookAtEachother(characterA: CharacterName, characterBParam: CharacterName): void; export declare function moveCharacterAt2DAngle(charName: CharacterName, angle: number): void;