if Vector3.AXIS_Y == 0:
$Player.set_global_transform(Vector3(-0.567, 7.265, 0.111))
This is my code. I'm trying to set the player's positon to -0.567, 7.265, 0.111 once their y goes under 0. I'm new to Godot and GDscript so I apologise if this is a stupid question or if my code looks like it was written by a gorilla shitting on a keyboard. This is a 3D project in Godot 4.2 btw.
0 comments