Log inGet started
Package

vehiclesKit.package

This package holds more than this page lists. See all of its files in its world.

README.md

api

The front door of vehiclesKit: local Vehicles = require("~vehiclesKit.api"). spawn(preset, pos, { look, paint, yaw, name, passengers }) puts a shared, drivable vehicle in the world; display(preset, look, paint, pos, opts) a showroom model with no physics; presets(filter), looks(), paints() and describe(preset) read the catalogue (whether a preset is a land, water or air vehicle, the kinds of game it suits, seats, assists, top speed, boost, drift); all(filter), nearest(position, filter), of(target) and mine() read the registry of live vehicles (of takes a vehicle from all(), its entity, an id or a name); enter(vehicle, seat?) and exit() seat and unseat the local player from code; hud(opts) sets the driving HUD (gauge style, boost bar look, units, prompts); component() is the Vehicle component type. Game code calls it; the Vehicle component does the work.