sim range update
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a2049e8ec5
commit
e2d0c0cd88
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"gameplayGenerateWorld" : false,
|
"gameplayGenerateWorld" : false,
|
||||||
"gameplayPhysicsCellRadius" : 7,
|
"gameplayPhysicsCellRadius" : 10,
|
||||||
|
|
||||||
"displayWidth" : 1920,
|
"displayWidth" : 1920,
|
||||||
"displayHeight" : 1080,
|
"displayHeight" : 1080,
|
||||||
|
|||||||
@ -2125,6 +2125,7 @@ Fix progressive pathfinding iteration
|
|||||||
Non-body ground movement animation work
|
Non-body ground movement animation work
|
||||||
Synchronization change for memory pressure
|
Synchronization change for memory pressure
|
||||||
Lerp non-body height differential based on distance (holds closer to ground)
|
Lerp non-body height differential based on distance (holds closer to ground)
|
||||||
|
Sim range update
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ public class Player {
|
|||||||
/**
|
/**
|
||||||
* The default server-side simulation radius in chunks
|
* 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
|
* DBID the client assigns to the player object
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package electrosphere.renderer.pipelines.debug;
|
package electrosphere.renderer.pipelines.debug;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -325,7 +326,8 @@ public class DebugContentPipeline implements RenderPipeline {
|
|||||||
}
|
}
|
||||||
if(Globals.gameConfigCurrent.getSettings().getGraphicsDebugDrawServerCellColliders()){
|
if(Globals.gameConfigCurrent.getSettings().getGraphicsDebugDrawServerCellColliders()){
|
||||||
Vector3d floatingOrigin = Globals.serverState.realmManager.first().getCollisionEngine().getFloatingOrigin();
|
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)){
|
if(PhysicsEntityUtils.getDGeom(ent) != null && ent.containsKey(EntityDataStrings.TERRAIN_IS_TERRAIN)){
|
||||||
DGeom geom = PhysicsEntityUtils.getDGeom(ent);
|
DGeom geom = PhysicsEntityUtils.getDGeom(ent);
|
||||||
DAABBC aabb = geom.getAABB();
|
DAABBC aabb = geom.getAABB();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user