cocos_add_motion_streak
Add motion streak effects to game objects for visual trails like sword swings or shooting stars in Cocos Creator projects.
Instructions
Attach cc.MotionStreak (trail effect). For sword trails, shooting stars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| fade_time | No | ||
| stroke | No | ||
| color_r | No | ||
| color_g | No | ||
| color_b | No | ||
| color_a | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |