Questions tagged [gravity]
The gravity tag has no summary.
4 questions
1
vote
1
answer
391
views
How to pause player motion during an air attack animation in Godot 4?
So I am very new to Game Dev, and I am running into a problem that seems like it should have a simple answer. Unfortunately, I have not been able to figure it out.
I am creating a 2d side scroller. I ...
0
votes
0
answers
74
views
NPC resets when stepping on slope
This fella teleports back to spawn position every time it steps on a slope:
Artificial _physics_process called pc() and is being called by a timer every time the timer ticks, for this specific mob ...
0
votes
0
answers
106
views
applying gravity breaks entirely this AI movement code
I'm calling this function every 0.078 seconds so about at 13 fps using a timer connected to _ready()
this way my game can easily run over 400 enemy units with ...
3
votes
1
answer
2k
views
Why objects are falling equally in Unity
I have different game objects with rigid bodies, each having its own mass and drag. However, when these objects fall, they appear to fall at equal speeds. This raises the question of why they do not ...