Methods
(async) load(x, y, z, rotationY)
Creates a crate.
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 Crate
Parameters:
| Name | Type | Description |
|---|---|---|
data |
THREE.Object3D |
- Source:
Returns:
THREE.Object3D