godot-travelling-projectile-3d

Implement a Godot 4.6 travelling projectile system with spawn, motion, impact, and despawn.

8|3|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/arthur0n/xenodot-forge --skill godot-travelling-projectile-3d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-travelling-projectile-3d
Source: https://github.com/arthur0n/xenodot-forge/tree/main/plugin/skills/godot-travelling-projectile-3d
Command: npx skills add https://github.com/arthur0n/xenodot-forge --skill godot-travelling-projectile-3d

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you implement a travelling projectile in Godot that spawns from a muzzle, moves through world space, and despawns cleanly on impact or at max range, while also enforcing a deterministic fire-rate cooldown.

Core Features & Use Cases

  • Projectile Travel: Spawns a Projectile as an Area3D, detaches it with top_level, and moves it forward each physics frame.
  • Weapon Firing Component: Provides a host-agnostic Weapon node that any entity can call to fire projectiles through a muzzle Marker3D.
  • Cooldown Control: Uses a one-shot Timer to prevent firing every frame and keep shot cadence predictable.
  • Hit and Range Despawn: Removes projectiles when they collide with valid targets or exceed their maximum travel distance.
  • Use Case: Build a first-person gun, turret, or enemy attack that launches a visible projectile instead of an instant raycast hit.

Quick Start

Ask the AI to create a Godot 4.6 travelling projectile setup with a Weapon component, a Projectile scene, a muzzle Marker3D, and a one-shot Timer cooldown.

Frequently Asked Questions about godot-travelling-projectile-3d

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a visible projectile in Godot 4 instead of hitscan?

A travelling projectile in Godot differs from hitscan by moving an Area3D through world space each physics frame, allowing players to dodge visible shots rather than applying instant raycast damage.

How do I add a fire-rate cooldown to a weapon in Godot?

Add a fire-rate cooldown to a Godot weapon by attaching a one-shot Timer node, preventing the weapon from spawning new projectiles until the Timer expires and keeping shot cadence deterministic.

How do I properly despawn a 3D projectile on impact or max range in Godot?

Despawn a 3D projectile in Godot by connecting its Area3D collision signals to remove the node on valid target impact, and measuring travel distance to free it when exceeding a maximum range limit.

Can I attach a single weapon component to different entities like turrets and enemies in Godot?

Yes, you can use a host-agnostic Weapon Node3D in Godot that any entity can call to fire projectiles, provided the host supplies a Marker3D muzzle and a one-shot Timer for cooldown gating.

Why do my Godot projectiles spawn at the wrong world position when firing?

Godot projectiles spawn at the wrong position when not detached from the weapon hierarchy; setting top_level on the spawned Area3D places it in world space instead of inheriting parent weapon transforms.