Game multi - Add animationGoal1 v1 - Start init others animations
This commit is contained in:
@ -61,6 +61,11 @@ class Ball
|
||||
this.setPosition(this.centerPos.x, this.centerPos.y, this.centerPos.z);
|
||||
}
|
||||
|
||||
resetScaleBall()
|
||||
{
|
||||
this.object.scale.set(1, 1, 1);
|
||||
};
|
||||
|
||||
setPosition(x, y, z)
|
||||
{
|
||||
this.object.position.set(x, y, z);
|
||||
|
Reference in New Issue
Block a user