performance fix
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
253a2461b6
commit
3b0e39d169
@ -1333,6 +1333,10 @@ Tabs for editor view
|
||||
ImGui drag-and-drop into viewport functionality
|
||||
Normalized mouse pos lookup function
|
||||
|
||||
(03/27/2025)
|
||||
Disable fluid sim for performance
|
||||
Increase fall delay
|
||||
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
@ -172,9 +172,10 @@ public class Globals {
|
||||
public static boolean RUN_DEMO = false;
|
||||
public static boolean RUN_CLIENT = true;
|
||||
public static boolean RUN_HIDDEN = false; //glfw session will be created with hidden window
|
||||
public static boolean RUN_AUDIO = false;
|
||||
public static boolean RUN_AUDIO = true;
|
||||
public static boolean RUN_SCRIPTS = true;
|
||||
public static boolean RUN_PHYSICS = true; //toggles whether physics is run or not
|
||||
public static boolean RUN_FLUIDS = true; //toggles whether fluid physics is run or not
|
||||
public static int clientCharacterID;
|
||||
public static NetConfig netConfig = null;
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ public class ServerFallTree implements BehaviorTree {
|
||||
/**
|
||||
* The minimum frames to wait before scanning if it should activate due to gravity
|
||||
*/
|
||||
public static final int MIN_FRAMES_BEFORE_ACTIVATION_SCAN = 3;
|
||||
public static final int MIN_FRAMES_BEFORE_ACTIVATION_SCAN = 10;
|
||||
|
||||
/**
|
||||
* The minimum frames to wait before playing landing animation on fall
|
||||
|
||||
@ -73,7 +73,7 @@ public class ServerFluidManager {
|
||||
ServerTerrainManager serverTerrainManager;
|
||||
|
||||
//controls whether fluid simulation should actually happen or not
|
||||
boolean simulate = true;
|
||||
boolean simulate = Globals.RUN_FLUIDS;
|
||||
|
||||
@Exclude
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user