Defaults
The built-in defaults used when a WorldConfig
field is omitted. Exposed at the top level as Hindsight.Defaults so debug
tooling can introspect the values the world is actually running with, and
so user code can clone-and-edit a single field without rewriting an entire
config block.
local rollback = table.clone(Hindsight.Defaults.rollback)
rollback.lifetime = 2 -- longer history for very high-ping games
local world = Hindsight.createWorld({
actorContainer = ServerScriptService,
definitionsModule = definitionsModule,
rollback = rollback,
})
Properties
rigs
Hitbox layouts for the built-in R15 and R6 rigs. The sizes come from
default Roblox avatar measurements (half-extents in studs).
rollback
Defaults.rollback: RollbackConfigDefault snapshot store configuration:
lifetime = 1
voxelSize = 32
gridCenter = Vector3.zero
gridSize = Vector3.new(4096, 512, 4096)
hitboxSize = Vector3.new(3, 3, 3)
rigs = Defaults.rigs
penetration
Defaults.penetration: PenetrationConfigDefault penetration model:
surfaceHardness = { [Wood] = 2, [Concrete] = 10 }
defaultHardness = 10
ricochetHardness = 10
mediumGapThreshold = 0.1
maxCompoundMediumParts = 32