delete old server physics cell on terrain edit
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
6d80269acb
commit
27fa045a2e
@ -1297,12 +1297,17 @@ grid2 starting to look realtime!
|
|||||||
Pass environment data through grid2 solver
|
Pass environment data through grid2 solver
|
||||||
Save assembly on compile
|
Save assembly on compile
|
||||||
|
|
||||||
|
(01/24/2025)
|
||||||
|
Delete old server physics cell on terrain edit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Fix physics breaking at far-off locations
|
||||||
|
- separately simulated regions of physics that dynamically merge/unmerge based on chunk loading
|
||||||
|
|
||||||
Implement gadgets
|
Implement gadgets
|
||||||
- Chemistry System
|
- Chemistry System
|
||||||
|
|||||||
@ -293,7 +293,7 @@ public class GriddedDataCellManager implements DataCellManager, VoxelCellManager
|
|||||||
Long key = this.getServerDataCellKey(worldPos);
|
Long key = this.getServerDataCellKey(worldPos);
|
||||||
if(posPhysicsMap.containsKey(key)){
|
if(posPhysicsMap.containsKey(key)){
|
||||||
PhysicsDataCell cell = posPhysicsMap.get(key);
|
PhysicsDataCell cell = posPhysicsMap.get(key);
|
||||||
cell.generatePhysics();
|
cell.retireCell();
|
||||||
}
|
}
|
||||||
//get data to generate with
|
//get data to generate with
|
||||||
Vector3d realPos = new Vector3d(
|
Vector3d realPos = new Vector3d(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user