#why does this work?

1 messages · Page 1 of 1 (latest)

vague quarry
#

can't get my head around this
why does this code make my character move accordingly to the direction im looking on?
im new to 3D godot and im feeling pretty limited with my options right now regarding workarounds to things

everything is going very sweet so far tho
i made a mini prototype for an ultrakill clone and its pretty fun

back on topic can someone explain to me what transform.basis is supposed to be for?

sharp forge
#

transform.basis is just the camera's transformation I believe

#

ultrakill clone sounds sweet actually can I see 🙏

vague siren
#

The transform is composed of a matrix of 3 Vector3s.
The Basis is a representation of those 3 vectors like the gizmo in the editor with the 3 coloured arrows.
With one pointing "forward", another "up" and another "right"

#

tbh i don't understand it fully either.
But it makes more sense if you know how the math for 3D drawing works.

vague quarry
#

still have to figure out why the particles don't spawn on the other half of the world

sharp forge
#

That looks very nice actually

vague quarry
sharp forge
vague quarry
#

also ty for compliment

sharp forge
#

when you are finished with this game i will win it instantly im so good at ultrakill /hj
but yeah from the looks of it it looks like it'll feel right at home

#

ultrakill 2d when

vague quarry
#

i was also planning on making a 2d ultrakill clone lol..

#

im too obsessed with that game

#

jesus

sharp forge
#

I have 102 hours in it

vague quarry
#

its probably not gonna be done until 5 years from now

#

but you can count on it

vague quarry
sharp forge
#

on standard its 23 and on brutal it's 10

vague quarry
#

HAH

#

53 on violence

#

it was nice talking to you peasant

sharp forge
#

WHAT

vague quarry
#

thank you tho really

sharp forge
#

ofc!!

#

keep up the good work