Game multi - Add animationGoal1 v1 - Start init others animations

This commit is contained in:
hubourge
2024-09-24 18:16:11 +02:00
parent 47c8a64f5d
commit 10d466a964
5 changed files with 138 additions and 92 deletions

View File

@ -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);