markz

joined 3 weeks ago
[–] markz@suppo.fi 4 points 3 days ago* (last edited 3 days ago)

on a base object of type 'null instance'."

Null instance means there's no instance. If $Beacon gives you this, it means that such node doesn't exist.

As a side note, I dislike hardcoding nodes like this. Consider getting the beacon instance beforehand with @onready var or such. If the beacon doesn't exist, you'll then see the error immediately instead of later when the script tries to use it.

makes the character rotate around the world origin.

You're using position, which is the relative position to the parent node. I don't know how your node structure look like, but chances are that you should be using global_position (absolute world position) instead.

and then adding or subtracting to its X and Y positions with beacon's movement keys

oh boy. When find yourself building something like your own position tracking code instead of using builtin systems, it's best to scrap it and rethink what you need.

how to either make TestChar use that that variable from Beacon's script

Same was as position: look_at(beacon.look_here_P1). Add a class name for the beacon script and type your variable as such (var beacon: Beacon = ...) to get editor hints.

Protip: speaking from experience, you might want to enable this setting:

screenshot

Making Beacon emit a signal every time it moves in a particular direction and then using those signals to update a Vector3 variable in TestChar's script doesn't seem to work

Rube Goldberg machine much? It should work though. Your problem is probably still relative vs absolute position.

Hope this helps

[–] markz@suppo.fi 75 points 3 days ago* (last edited 3 days ago) (12 children)

Adolf Hitler was a controversial german politician. He is considered in large part responsible for the second world war, and especially the holocaust.

Hitler is generally considered quite a bad person, and it is a common trope to use a time machine to go back in time to kill him before his rise to power.

Grant doesn't need explanation as everybody knows mythbusters.

[–] markz@suppo.fi 3 points 3 days ago

That isn't jazz

[–] markz@suppo.fi 2 points 3 days ago

Just some good ol' healthy outdoors activity

[–] markz@suppo.fi 1 points 3 days ago (1 children)

Not far back enough

[–] markz@suppo.fi 14 points 3 days ago (2 children)

That's not a question.

[–] markz@suppo.fi 3 points 3 days ago (1 children)
[–] markz@suppo.fi 12 points 3 days ago* (last edited 3 days ago)

People find ways to make more from less and then somehow optimize away the gained free time and then some. In that regard, farming was a pretty shit invention.

[–] markz@suppo.fi 2 points 3 days ago (1 children)

Insane that it was allowed

[–] markz@suppo.fi 17 points 3 days ago (23 children)

Reject modernity, return to hunter-gatherer

[–] markz@suppo.fi 9 points 4 days ago
[–] markz@suppo.fi 3 points 4 days ago

It was a joy, I'm definitely going to keep reading about the period. I've also been eyeing De Oratore, which is waiting to be snatched from a certain bookshelf.

view more: β€Ή prev next β€Ί