This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+17
View File
@@ -0,0 +1,17 @@
/* Copyright 2003-2006 ROBLOX Corporation, All Rights Reserved */
#pragma once
namespace RBX {
namespace Network {
class DistributedPhysics
{
public:
static const float MIN_CLIENT_SIMULATION_DISTANCE() {return 10.0f;}
static const float MAX_CLIENT_SIMULATION_DISTANCE() {return 1000.0f;}
static const float CLIENT_SLOP() {return 1.05f;} // 105% how far out of the region before client stops simulating
static const float SERVER_SLOP() {return 1.00f;} // server switches simulation to someone else as soon as the object leaves the region
};
}
}