sim range update
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-06-05 17:46:12 -04:00
parent a2049e8ec5
commit e2d0c0cd88
4 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"gameplayGenerateWorld" : false,
"gameplayPhysicsCellRadius" : 7,
"gameplayPhysicsCellRadius" : 10,
"displayWidth" : 1920,
"displayHeight" : 1080,

View File

@ -2125,6 +2125,7 @@ Fix progressive pathfinding iteration
Non-body ground movement animation work
Synchronization change for memory pressure
Lerp non-body height differential based on distance (holds closer to ground)
Sim range update

View File

@ -18,7 +18,7 @@ public class Player {
/**
* The default server-side simulation radius in chunks
*/
public static final int DEFAULT_SIMULATION_RADIUS = 3;
public static final int DEFAULT_SIMULATION_RADIUS = 7;
/**
* DBID the client assigns to the player object

View File

@ -1,6 +1,7 @@
package electrosphere.renderer.pipelines.debug;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
@ -325,7 +326,8 @@ public class DebugContentPipeline implements RenderPipeline {
}
if(Globals.gameConfigCurrent.getSettings().getGraphicsDebugDrawServerCellColliders()){
Vector3d floatingOrigin = Globals.serverState.realmManager.first().getCollisionEngine().getFloatingOrigin();
for(Entity ent : EntityLookupUtils.getAllEntities()){
Collection<Entity> entities = Collections.unmodifiableCollection(EntityLookupUtils.getAllEntities());
for(Entity ent : entities){
if(PhysicsEntityUtils.getDGeom(ent) != null && ent.containsKey(EntityDataStrings.TERRAIN_IS_TERRAIN)){
DGeom geom = PhysicsEntityUtils.getDGeom(ent);
DAABBC aabb = geom.getAABB();