projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow replays to pass through rifts
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_ragdoll.h
diff --git
a/player_ragdoll.h
b/player_ragdoll.h
index 0afc330486d6be8e96bd82790a5b5dc9746ebff8..6f5a33137a8e5a48ef53b21da64d86b1a21555d7 100644
(file)
--- a/
player_ragdoll.h
+++ b/
player_ragdoll.h
@@
-33,12
+33,19
@@
struct player_ragdoll{
rb_constr_swingtwist cone_constraints[32];
u32 cone_constraints_count;
rb_constr_swingtwist cone_constraints[32];
u32 cone_constraints_count;
+ /* TODO: Fix duplicated data */
+ u32 constraint_associations[32][2];
int shoes[2];
};
static float k_ragdoll_floatyiness = 20.0f,
k_ragdoll_floatydrag = 1.0f,
int shoes[2];
};
static float k_ragdoll_floatyiness = 20.0f,
k_ragdoll_floatydrag = 1.0f,
- k_ragdoll_limit_scale = 1.0f;
+ k_ragdoll_limit_scale = 1.0f,
+ k_ragdoll_spring = 127.0f,
+ k_ragdoll_dampening = 15.0f,
+ k_ragdoll_correction = 0.5f,
+ k_ragdoll_angular_drag = 0.08f,
+ k_ragdoll_active_threshold = 5.0f;
static int k_ragdoll_div = 1,
ragdoll_frame = 0,
static int k_ragdoll_div = 1,
ragdoll_frame = 0,