#define movelib_move_simple(newdir,velo,blendrate) \
self.velocity = self.velocity * (1 - blendrate) + (newdir * blendrate) * velo
#define movelib_move_simple(newdir,velo,blendrate) \
self.velocity = self.velocity * (1 - blendrate) + (newdir * blendrate) * velo
Pitches and rolls the entity to match the gound.
Yed need to set v_up and v_forward (generally by calling makevectors) before calling this.
**/
Pitches and rolls the entity to match the gound.
Yed need to set v_up and v_forward (generally by calling makevectors) before calling this.
**/
-void movelib_groundalign4point(float spring_length, float spring_up, float blendrate)
+#endif
+
+void movelib_groundalign4point(float spring_length, float spring_up, float blendrate, float _max)
{
vector a, b, c, d, e, r, push_angle, ahead, side;
{
vector a, b, c, d, e, r, push_angle, ahead, side;