gizmo is a visual debug library designed for the Roblox game engine.
The following types are supported:
- point: Position
- box: Orientation, Size
- wirebox: Orientation, Size
- sphere: Position, Radius
- wiresphere: Position, Radius
- line: Position, Position
- arrow: Position, Position
- ray: Position, Direction
Renders the gizmo for a single frame
Creates a new object which can be rendered over multiple frames
Starts rendering the gizmo
Stops rendering the gizmo
Updates the gizmos appearance
Controls the 'style' of the gizmo
The global style used by default when creating or drawing a gizmo
RunService.PostSimulation:Connect(function ()
gizmo.arrow.draw(start, finish)
end)
local arrow = gizmo.arrow.create(start, finish)
arrow:enable()
RunService.PostSimulation:Connect(function ()
arrow:update(start, finish)
end)