Class: WolfBuilder

WolfBuilder()

Helper class to build a wolf.

Constructor

new WolfBuilder()

Source:

Methods

idle(mixer)

Start the idle animation
Parameters:
Name Type Description
mixer THREE.AnimationMixer
Source:

(async) load(x, y, z, rotationY)

Create a wolf
Parameters:
Name Type Description
x Number Position in x axis
y Number Position in y axis
z Number Position in z axis
rotationY Number Rotation in y axis
Source:
Returns:
THREE.Object3D

setUpModel(data)

Set the Animations and Scale of the wolf
Parameters:
Name Type Description
data THREE.Object3D
Source:
Returns:
THREE.Object3D

sit()

Start the sit animation
Source:

(async) startAnimation()

Start the Animation of the wolf
Source: