Skip to content

Added a new category called "Player physics"#40

Open
jojo989 wants to merge 21 commits intoRifct:mainfrom
jojo989:main
Open

Added a new category called "Player physics"#40
jojo989 wants to merge 21 commits intoRifct:mainfrom
jojo989:main

Conversation

@jojo989
Copy link

@jojo989 jojo989 commented Feb 22, 2026

Me and a group were investigating and Reverse engineering GD physics before this new gd docs was made, so i plan to add everything new we discover :D

please tell me if yall want me to modify something

The variable G is simply 1 when the player has regular gravity, or -1 when the player has inverse gravity.
All the velocities are in Vels (1 Vel = 60 units/sec).
Max velocity is the highest velocity the player can reach by falling normally, with the exception of ship which also has an upwards max velocity in addition to the downwards one.
However the max velocity can be temporarily overridden by force blocks until it goes back down to the regular max velocity.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potential further research: how does it "go back down"?

However the max velocity can be temporarily overridden by force blocks until it goes back down to the regular max velocity.
Ticks held is how many ticks one needs to hold for before the click action triggers.
1 would mean it triggers on that tick, 2 would mean it triggers on the nextt
(Both would have their actions occur on the following tick, but 2 would mean swift clicks don't trigger the click action).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both would have their actions occur on the tick following the last required tick, right?

| Ufo | Sets the y-velocity to 7G | N/A | -6.4G | 2 | Yes |
| Wave | Sets the y-velocity to 4.186G | Sets the velocity to -4.186G | N/A | 2 | Yes |
| Robot | Sets the y-velocity to 5.31G | Decelerates according to the tps | -15G | 1 | No |
| Spider | See section "Spider" below | N/A | -15 | 1 | No |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • the section doesn't exist, what will be there?
  • -15G?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "robot" entries mention deceleration which would be a complementary thing to include somewhere

@jojo989
Copy link
Author

jojo989 commented Mar 1, 2026

i think everything got resolved

updated player physics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants