Room > Game > Use as Vehicle… (⌃⌥⇧⌘Z, or Vehicle > Use as Vehicle… on a thing's right-click menu) makes a motorcycle or bicycle model of your own a vehicle that characters ride, like the built-in ones: Ride…, Play Room and GameMaker all work with it.
- Make the model with its moving parts as objects of their own: Frame (what doesn't move), Fork (the front fork and the handlebars: what steers; its origin on the steering axis, its up axis along it), WheelFront (under Fork) and WheelRear (each turning about its own X axis, its origin at the axle) and a bicycle's Crank, PedalL and PedalR.
- And empties for its points: RiderSeat, GripL and GripR (under Fork) and, a motorcycle, PegL and PegR.
- The model faces +Z in the GLB (in Blender, -Y), +X its left, at its real size in metres, its origin on the ground half way between the wheels.
- Place it in the room (Import Model…), select it and choose Use as Vehicle…, then pick its GLB file. The window says what it found, or which parts and points it lacks. Pick its Name (its riders' clips are named after it) and the built-in it Rides like (its speed, turning, lean, boost or hop, and the rider's posture). Use as Vehicle.
Studio measures it as Room 3D does (the wheels, the wheelbase, the steering axis, the seat, the grips, the pegs or the crank), bakes its parts as joints with its own clips (Idle, Roll, a bicycle's Pedal) and keeps what it measured in .studio/vehicles.json. One undo step. Room > Game > Not a Vehicle (⌃⌥⇧Z) takes it back: its riders get off, its clips stay.
If a wheel's part reaches well past its tyre (a piece of the swing arm or the fairing cut into it by mistake), Use as Vehicle says so: those pieces would turn with the wheel, so move them to Frame.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.