weapon-trail
CommunityRender a ribbon trail that follows weapon motion.
Authorverekia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The ribbon trail helps visually convey weapon movement by rendering a dynamic trail behind a moving weapon, enhancing feedback and aesthetics during combat sequences.
Core Features & Use Cases
- Ring-buffer based position history to store trail samples efficiently
- Proper UVs and gradient textures to achieve fade-out along the trail
- World-space position capture using localToWorld for accurate motion
- Easy enable/disable with fade-out behavior to match attack timing
- Use with a weapon model to create visually striking real-time trails in games and demos
Quick Start
Attach a Trail component to the weapon group, pass the initial trail points, and toggle enabled when the weapon is used to render the ribbon trail.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: weapon-trail Download link: https://github.com/verekia/r3f-gamedev/archive/main.zip#weapon-trail Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.