mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add rigidbody.set/get_gravity_scale
This commit is contained in:
parent
cb37d3b00c
commit
b4cf00a8f1
4 changed files with 19 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ struct Hitbox {
|
|||
float linearDamping;
|
||||
bool verticalDamping = false;
|
||||
bool grounded = false;
|
||||
float gravityMultiplier = 1.0f;
|
||||
float gravityScale = 1.0f;
|
||||
|
||||
Hitbox(glm::vec3 position, glm::vec3 halfsize);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue