A system built to help combat input latency with physics-based tools on Roblox.
local BufferModule = require(ReplicatedStorage.BufferModule)
-- Creates a new Buffer called "MyBuffer" under whatever this script is parented to.
local buffer = BufferModule:CreateBuffer(script.Parent, "MyBuffer")
BufferModule:CreateBuffer(instance: Instance, bufferName: string): Buffer
Constructs a new Buffer. Shorthand for BufferModule.Buffer.new()
.
Equivilant to BufferModule.new()
and BufferModule.Buffer.new()
BufferModule.Util.RegisterTouchInterest(part: BasePart)
Creates a TouchTransmitter as a child of the provided Instance. If a TouchTransmitter already exists under the provided Instance then nothing will be created.