+/*
+ * Copyright 2021-2022 (C) Mount0 Software, Harry Godden - All Rights Reserved
+ */
+
#ifndef CHARACTER_H
#define CHARACTER_H
#include "skeleton_animator.h"
#include "shaders/viewchar.h"
+static float k_ragdoll_floatyiness = 10.0f,
+ k_ragdoll_floatydrag = 1.0f;
+
vg_tex2d tex_characters = { .path = "textures/ch_gradient.qoi" };
static void character_register(void)
rb_debug_constraint_limits( &pj->rb, &pp->rb, lca, pj->limits );
}
}
+
+ v4f plane = {0.0f,1.0f,0.0f,0.0f};
+ rb_effect_simple_bouyency( &pj->rb, plane, k_ragdoll_floatyiness,
+ k_ragdoll_floatydrag );
}
/* CONSTRAINTS */