mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-26 09:59:04 +01:00
Fix close to ground physics being frame rate dependent; close #83
This commit is contained in:
parent
718a348109
commit
6431599c40
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ void ship_player_update_race(ship_t *self) {
|
||||||
self->velocity = vec3_sub(self->velocity, face->normal);
|
self->velocity = vec3_sub(self->velocity, face->normal);
|
||||||
}
|
}
|
||||||
else if (height < 30) {
|
else if (height < 30) {
|
||||||
self->velocity = vec3_add(self->velocity, face->normal);
|
self->velocity = vec3_add(self->velocity, vec3_mulf(face->normal, 4096.0 * system_tick()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (height < 50) {
|
if (height < 50) {
|
||||||
|
|
Loading…
Reference in a new issue