Skip to content
Back to skills

Vehicles

ASecurity

Use before building or fixing anything that moves under physics in Godot 4 — helicopters, aircraft, cars, trains, ships, moving platforms and decks, elevators, carried passengers, landing and docking, cameras that follow them. Pulls the lessons real projects learned the hard way (moving decks, physics interpolation, floor detection, far-from-origin precision) and tests the behaviour headless with Godot. Also in Dutch: 'helikopter', 'vliegtuig', 'schip', 'trein', 'landen op een bewegend dek', ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add laaielichter/Godotwright --skill vehicles --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vehicles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vehicles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laaielichter-vehicles/badge)](https://www.skillsdirectory.com/skills/laaielichter-vehicles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vehicles
description: "Use before building or fixing anything that moves under physics in Godot 4 — helicopters, aircraft, cars, trains, ships, moving platforms and decks, elevators, carried passengers, landing and docking, cameras that follow them. Pulls the lessons real projects learned the hard way (moving decks, physics interpolation, floor detection, far-from-origin precision) and tests the behaviour headless with Godot. Also in Dutch: 'helikopter', 'vliegtuig', 'schip', 'trein', 'landen op een bewegend dek', 'rijdend platform', 'camera trilt'."
argument-hint: "[the vehicle or platform, optional]"
---

# Vehicles, moving platforms and things that ride on them

Work on $ARGUMENTS (or what the user named).

1. **Read the lessons before the code.** `godot_lessons` with topic `physics` and words for the case ("land on moving
   ship", "camera jitter follow", "passenger on platform", "train at high speed", "far from origin"). These are
   problems that cost real projects days; most have a test.
2. **Decide who moves whom, once.** A body on a moving platform is carried in exactly one way (parented, or moved by
   the platform's velocity, or by the physics engine), never two. It starts with the platform's speed. It updates after
   the platform in the same tick. Colliders of a ship never reach above its own deck.
3. **Mind the clock.** Physics runs at its own tick (`physics/common/physics_ticks_per_second`); with physics
   interpolation on, cameras and visuals read the interpolated pose, and `reset_physics_interpolation()` follows a
   teleport only, never every tick. `is_on_floor()` is stale after code moves a body until the next `move_and_slide()`.
4. **Mind the scale.** Far from the origin, float32 positions lose precision: take velocities from physics, not from
   differences of positions, and keep far-away things simple or simulated less often.
5. **Test the real body headless.** For a long or hard-to-reach situation (a ship far out at sea, a deck in motion),
   start a `godot_session` once and `step` it with `godot_game` in parts, reading the values between steps.
   Otherwise: Reproduce with the real scene, not a stand-in: `godot_play` with an input timeline
   and `watch` on position, velocity and `is_on_floor()` per frame; repeat on a moving platform at several speeds and
   with the other physics engine when contacts are involved. Assert numbers (no bounce above a few centimetres, no
   slide), not looks.
6. Keep what you learned with `godot_lesson_add`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.