markz

joined 4 weeks ago
[–] markz@suppo.fi 30 points 1 week ago (10 children)

I find it impressive that nobody honked.

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

Bad menu, had no food on it. Well, not unless you're an ai crawler.

[–] markz@suppo.fi 12 points 1 week ago (5 children)

We have enough memes and politics and definitely US politics for three lifetimes.

Here's a bunch that I enjoyed, or wish for, or just found by browsing the community list:

[–] markz@suppo.fi 1 points 1 week ago

Gamers rise up

[–] markz@suppo.fi 12 points 1 week ago (1 children)

I thought I had done it, but I have only played it since after it was made impossible. I guess I didn't

[–] markz@suppo.fi 8 points 1 week ago* (last edited 1 week ago) (1 children)

Henry, HenrySomething, and James

Where's George? Off sucking Jeff again?

[–] markz@suppo.fi 6 points 1 week ago* (last edited 1 week ago)

Big tech always caters to the lowest common denominator

[–] markz@suppo.fi 4 points 1 week ago* (last edited 1 week 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 3 points 1 week ago

That isn't jazz

[–] markz@suppo.fi 2 points 1 week ago

Just some good ol' healthy outdoors activity

[–] markz@suppo.fi 14 points 1 week ago (1 children)

That's not a question.

[–] markz@suppo.fi 3 points 1 week ago (1 children)
view more: ‹ prev next ›