loading rig pose, textures, body settings

This commit is contained in:
MihailRis
2024-07-09 21:19:29 +03:00
parent a68be271c6
commit d8c9fa1fe2
11 changed files with 96 additions and 17 deletions
+1
View File
@@ -123,6 +123,7 @@ void Player::updateInput(PlayerInput& input, float delta) {
hitbox->velocity.y += 1.0f;
}
}
hitbox->type = noclip ? BodyType::KINEMATIC : BodyType::DYNAMIC;
if (input.noclip) {
noclip = !noclip;
}