2 years ago

I'm loosing my mind. I've spent 2 hours fixing 2 lines of code in Godot and they still don't work. Help.


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

Loading...

Next up

I FOUND THIS FOR SALE IM DYING

A quick look at Ryn: And the thread of Life, our game in development, platforms and traps in action.

#gamedev #indiedev #godot

little chubby nuts

Hyperslice releases on January 16 (yes in just 2 days!) on Steam and Itch 🎉 ⚡ Hyperslice is a fast paced arena roguelite where your only weapon is your dash!

Wishlists appreciated 🥰 (Demo available on Steam and here) https://s.team/a/2977820

Real image btw (and yes that is Tyler the Creator)

Here's the last two attacks for Augusto! First we have a spinning charge, then a foot claw swipe if you get too close.

NO NOT AGAIN