We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea2bc5 commit 29ad29dCopy full SHA for 29ad29d
src/engine/model/ragdoll.h
@@ -133,6 +133,16 @@ class ragdolldata final
133
ragdolldata(const ragdollskel *skel, float scale = 1);
134
~ragdolldata();
135
136
+ /**
137
+ * @brief Moves the joints of the ragdoll.
138
+ *
139
+ * Moves the ragdoll joints by an amount indicated by the amount of time
140
+ * passed to `ts`. The ragdoll movement will be calculated using
141
+ * the ragdollwaterfric variable if water is true, and ragdollairfric if not.
142
143
+ * @param water whether the ragdoll is moving through air (false) or water(true)
144
+ * @param ts the time to use to calculate physics with, in seconds
145
+ */
146
void move(bool water, float ts);
147
148
/**
0 commit comments