ModelDisplay type
A model visual in a room. Shares at, rotation, scale, alive and move with other visuals; adds named animations and model materials.
Functions 4
modelDisplay:move(at: Vec3, rotation: Orientation?)Place and turn it in one step, every part and seat together.
modelDisplay:play(animation: string, opts: { speed: number? }?)Starts an animation; replaying the current one changes speed without restarting.
modelDisplay:stop(animation: string)Where it is; the parts stay as they are.
modelDisplay:destroy()Removes the model from the room.
Fields 2
modelDisplay.id: numberWhat player:ride(model) is handed; the seat is picked from seats.
modelDisplay.paint: { [string]: Ink }Whether it is still present. Read-only. Where it stands; live, and each write is a move of its own. Partial writes preserve other angles; nil after removal. Reads vec3; write a number or equal-axis vec3 for uniform size. Nil when gone. Material name to colour; write-only.