Create Tyre Tracks (2D Trails) in Godot with Line2D [Tutorial]


Post a Comment:





Showing 0 Comments:
Be the first to comment!

External ressources related to Create Tyre Tracks (2D Trails) in Godot with Line2D [Tutorial]

Line2D — Godot Engine (stable) documentation in English
https://docs.godotengine.org/en/stable/classes/class_line2d.html

A 2D line. A line through several points in 2D space. Note: By default, Godot can only draw up to 4,096 polygon points at a time. To increase this limit, open the Project Settings and increase ProjectSettings.renderin...

Custom drawing in 2D — Godot Engine latest documentation
https://godot-es-docs.readthedocs.io/en/latest/tutorials/2d/custom_drawing_in_2d.html

Godot has nodes to draw sprites, polygons, particles, and all sorts of stuff. For most cases, this is enough; but not always. Before crying in fear, angst, and rage because a node to draw that specific something does not exist… it would be good to know

line2d to make a trail : goes everywhere... - Godot Engine - Q&A
https://godotengine.org/qa/71677/line2d-to-make-a-trail-goes-everywhere

The point coordinates of the trail are relative to the position of the Line2D-node. If that node is attached to the Missile node, a point with coordinates (0, 0) would land precisely on the Missile. However, you set the coordinates to the Missiles global