v3_add( move_vel, player.camera_pos, player.camera_pos );
}
+VG_STATIC int kill_player( int argc, char const *argv[] )
+{
+ player_kill();
+ return 0;
+}
+
VG_STATIC int reset_player( int argc, char const *argv[] )
{
struct player_phys *phys = &player.phys;
v3f delta = {1.0f,0.0f,0.0f};
m3x3_mulv( the_long_way, delta, delta );
-
- player.angles[0] = atan2f( delta[0], -delta[2] );
- player.angles[1] = -asinf( delta[1] );
-
+
+ if( !freecam )
+ {
+ player.angles[0] = atan2f( delta[0], -delta[2] );
+ player.angles[1] = -asinf( delta[1] );
+ }
v4_copy( rp->q, phys->rb.q );
v3_copy( rp->co, phys->rb.co );