setsimulationradius
Sets the player's network simulation radius.
Syntax
setsimulationradius(radius: number, maxRadius: number?) -> voidParameters
| Parameter | Type | Description |
|---|---|---|
radius | number | The simulation radius |
maxRadius | number | (Optional) Maximum radius |
Returns
This function does not return a value.
Description
setsimulationradius sets how far from the player physics simulation ownership extends. This affects network ownership of parts.
Example
-- Set maximum simulation radius
setsimulationradius(math.huge, math.huge)
-- Now the player owns physics simulation for distant objectsNotes
- Higher values give you ownership of more physics objects
- Server can override network ownership
- Used for physics manipulation
Related Functions
isnetworkowner- Check ownership