projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
seperation of body initialization, glider model
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_ragdoll.h
diff --git
a/player_ragdoll.h
b/player_ragdoll.h
index 6f5a33137a8e5a48ef53b21da64d86b1a21555d7..77118f117389dfd5ad919ff66e4da17e4f215dd7 100644
(file)
--- a/
player_ragdoll.h
+++ b/
player_ragdoll.h
@@
-20,9
+20,17
@@
struct player_ragdoll{
u32 use_limits;
v3f limits[2];
- rb_object obj;
u32 parent;
u32 colour;
+
+ rigidbody rb;
+ enum bone_collider type;
+
+ union {
+ rb_capsule capsule;
+ boxf box;
+ }
+ inf;
}
parts[32];
u32 part_count;