setsimulationradius
Sets the simulation radius of the local player.
function setsimulationradius(radius: number): voidSynopsis
How it works
Sets the client’s physics simulation radiusSimulation radiusThe spherical region (in studs) around a player where the client has physics authority. Parts inside are simulated locally; parts outside are server-authoritative. Default: ~1000 studs. — the distance from the player’s character within which the client has authority over physics simulation. Parts outside this radius are simulated by the server. Setting a large value (e.g.,
math.huge) gives the client physics authority over everything in the workspace.Server replication
The client sends the requested radius to the server via internal replication. Some servers cap or validate the radius. Combined with
getsimulationradius() to check the current effective radius.Usage
Set radius (ineffective)
setsimulationradius(math.huge) "cc">-- Server will override thisParameters
radius number The desired simulation radius in studs.
Deprecated
The server overrides the simulation radius every heartbeat. This function has no practical effect in modern games.