0 votes

Hello, im new.
I would like to know how a cylinder could be created along a curve (as if it were a worm), I am trying to use csgcylinder, but I cannot find the way.
Help with the code please!
enter image description here

asked Apr 1 in Engine by Yairama (14 points)

1 Answer

0 votes

You can use a CSGPolygon node to follow a path. Make the shape in the PoolVector2Array polygon property, there's an interface for this using handles at the origin of the 3D scene, then set the mode to path, assign the path node and set path rotation to PathFollow.

answered Apr 1 by Magso (2,713 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.