0 votes

Can I create PathFollow in runtime or prefer to create PathFollow in design time and changing them? What the method more effectively? Thanks.

in Engine by (18 points)
edited by

Which solution you choose (be it creating a PathFollow when laying out the scene, or creating it at runtime) depends on the goal you want to achieve. Having written that, you can create a PathFollow at runtime.

Create a Curve3D for a Path. Then add a PathFollow as a child node of the Path. Have whatever you want make use of the PathFollow.

Please log in or register to answer this question.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.