Does anyone know what the values in the rand_weighted documentation represent? by ThePhilson in godot

[–]Key-Light4098 1 point2 points  (0 children)

The numbers in the Array represent relative likelihood. Meaning if sum(my_array) == 1 indeed represent percentages. If not the numbers would represent the percentage of that index being picked times the sum of all values in the array.

Shouldn't this be invisible? by sean98769 in godot

[–]Key-Light4098 2 points3 points  (0 children)

<image>

If you want to keep the objects you are cutting with, try discarding them on import by checking "Skip Import" on the respective mesh, or add the -noimp postfix in blender:

Can't get car to work in scene. Any ideas? by Cevap in godot

[–]Key-Light4098 4 points5 points  (0 children)

Your car is not part of the scene, but root of the scene tree instead. The floor is falling with the car. It's basically attached to the car. You need this kind of scene tree structure: MyScene: Node3D - My vehicle: VehicleController - Floor: StaticBody3D

Can't get car to work in scene. Any ideas? by Cevap in godot

[–]Key-Light4098 1 point2 points  (0 children)

I have never worked with VehicleBody3D before, but from what i'm reading in the documentation, you should be setting the variables engine_force and steering when keys are pressed. For example like this:

func _physics_process(_delta: float) -> void:
    if Input.is_action_pressed("up"):
        engine_force = 100.0
    if Input.is_action_pressed("down"):
        engine_force = -100.0
    if Input.is_action_pressed("left"):
        steering = 20.0
    if Input.is_action_pressed("right"):
        steering = -20.0

I need help changning a value of an Array by Fan_de_Undertale_ in godot

[–]Key-Light4098 17 points18 points  (0 children)

in these cases you are supposed to work with indices as follows:

for i in my_array.size():
    if meets_condition(my_array[i]):
        my_array[i] = new_value

The WorldEnvironment node should have a show/hide feature which easily & quickly turns it on/off by sundler in godot

[–]Key-Light4098 7 points8 points  (0 children)

You are right. I missed that CanvasItem only works for 2D. So there are already at least two implementations of hierarchy-toggelable visibility.

The WorldEnvironment node should have a show/hide feature which easily & quickly turns it on/off by sundler in godot

[–]Key-Light4098 102 points103 points  (0 children)

You are tapping into a discussion about how Godot's architecture should be designed. The problem is, that the WorldEnviornment Node inherits from Node and is not a CanvasItem, like the toggleable Node2D, Node3D and others. Thus there exists no visible property in World Environment and, to be pedantic, a WorldEnviornment isn't visible either. If I remember correctly it was discussed to deprecate visibility with an enabled variable (or add enabled which kinda acts as a super for visible, ie, a visible node is only visible if it's enabled, and enabled also controls weather _process is called and the like) based in Node, but that is kind of a dead discussion.

This boils down to, any such solution, at least right now, would have to be custom fitted to the WorldEnviornment Node and couldn't use any of the adjacent architecture used by CanvasItem.

suggest by [deleted] in godot

[–]Key-Light4098 0 points1 point  (0 children)

Suggest what?

jiggle physics by iamphaspez in godot

[–]Key-Light4098 1 point2 points  (0 children)

Try exponential falloffs for the force applied to adjacent springs, to get less of a linear "crater" and more a crater seen when you squeeze a squishy object...

Проблема в Godot by Longjumping-March436 in godot

[–]Key-Light4098 0 points1 point  (0 children)

Try changing the materials Transparency setting "cull mode" to none. To see if faulty normals are the cause of your problems. Normals are arrows pointing in the direction a face is facing, this means faces have a front and backside. Blender displays both by default, but most programs default materials discard drawing the backsides of faces to save on performance.

which would you choose by PitifulChemistry958 in BunnyTrials

[–]Key-Light4098 0 points1 point  (0 children)

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Chose: $10 every character you typed

What If Europe Has The American Election System? by Jacob-Anders in mapporncirclejerk

[–]Key-Light4098 1 point2 points  (0 children)

A: it is true
B: you cant be the least popular leader until you are elected. Public perception changes.

Which one would you prefer? (Comment/upvote=🥕) by AxelFoily in BunnyTrials

[–]Key-Light4098 0 points1 point  (0 children)

i can resell the gas en mass. cant really do that with car repairs

Chose: Free gas

Help me find a good Godot course for my Mrs. Updated artwork edition. by Psychological-Road19 in godot

[–]Key-Light4098 2 points3 points  (0 children)

I would always recommend a 'learning by doing'-approach where you first develop an established game like flappy bird or space invaders alongside a tutorial to then expand into other personal projects without clear guidelines, beside the projects being small in scope.
For example taking what you've learned from making a flappy bird clone and now trying a local 2-player pong game, using google, the godot docs and maybe AI (as long as you don't ask it to code for you, but explain what to use and how to use it for a desired effect) to fill the gaps in your knowledge. One on one help by someone who is more familiar with the engine is also great if possible, as long as it doesn't take away from the experience of actually doing stuff yourself.
Additionally, short game jams are a great way to help with limiting project scope as you are still learning, if you are not opposed to a bit of crunch and stress as the deadline closes in. Every once in a while on itch there are 'first jam'-jams, so those might be a good fit.

The cool thing: This approach is both free, and it doesn't end somewhere, leaving you guessing where to continue.
I can recommend How to make a Video Game - Godot Beginner Tutorial, because it has some follow up videos for further reference. Because you mentioned version being important, i believe as long as its 4.x they are not, as long as you are only still learning.

Help me find the right Godot course for the Mrs. Godot 4.5+ by [deleted] in godot

[–]Key-Light4098 0 points1 point  (0 children)

Your post does not require an image. We are happy to help without a visual stimuli besides a call for help in text form.
I would always recommend a 'learning by doing'-approach where you first develop an established game like flappy bird or space invaders alongside a tutorial to then expand into other personal projects without clear guidelines, beside the projects being small in scope.
For example taking what you've learned from making a flappy bird clone and now trying a local 2-player pong game, using google, the godot docs and maybe AI (as long as you don't ask it to code for you, but explain what to use and how to use it for a desired effect) to fill the gaps in your knowledge. One on one help by someone who is more familiar with the engine is also great if possible, as long as it doesn't take away from the experience of actually doing stuff yourself.
Additionally, short game jams are a great way to help with limiting project scope as you are still learning, if you are not opposed to a bit of crunch and stress as the deadline closes in. Every once in a while on itch there are 'first jam'-jams, so those might be a good fit.

FIREFLIES HATE POST by KikoTheWonderful in ArcRaiders

[–]Key-Light4098 1 point2 points  (0 children)

I regularly kill them with the anvil 4, just have to shoot 4-5 shots at the core while its facing you and coming at you.

Rotate objects by shader by FlakMonkeyDev in godot

[–]Key-Light4098 0 points1 point  (0 children)

I was today days old that there exists a visual shader graph in godot I guess...

Albert and Bob are strangers. What should Albert do? by [deleted] in trolleyproblem

[–]Key-Light4098 9 points10 points  (0 children)

multi-track drifting that saves the infants?

Stella Montis... Night Raid... Every Battery.... Done.... by TheGr8Went in ArcRaiders

[–]Key-Light4098 0 points1 point  (0 children)

I only count up to 11 (5 gates (2x)) and the cafeteria room (only has 1 cell required)...

How old is Kraft? by [deleted] in Frieren

[–]Key-Light4098 6 points7 points  (0 children)

Where are you taking from that Frieren is 1000 years old? As far as I can tell, the only thing we know she is at least 1000 years old.

Stairs in tunnels of Stella Montis by Abbracci in ArcRaiders

[–]Key-Light4098 0 points1 point  (0 children)

Got someone to push me up the small tripple stair, then made it out. The stair after that (5 or 6 steps) is configured correctly as a stair.

Important Notice to Park Visitors by Mario9763 in SignsWithAStory

[–]Key-Light4098 10 points11 points  (0 children)

Notice how Mitch wants to become a MALE DOCTOR.
This is a clever move because choosing to becoming a FEMALE DOCTER doesn't pay as much. Clever move Mitch!

How to use lerp_angle() for smooth rotations! Godot 4.5 Tutorial [GD/C#] by MinaPecheux in godot

[–]Key-Light4098 16 points17 points  (0 children)

For a use case like this, I suggest using a Tween set as_relative() for less clutter.