0 votes

Everything in vector 3 please! :)
What is the best way to make a train that runs on rails? However, it should stop before the end. Should I do it with a raycast or does anyone have a better idea?

Looking forward to your replies!

in Engine by (80 points)
reshown by

You should try to solve the problem yourself first before asking here.

Although, I would probably use a spatial path along a curve 3d for the rails and then have the train the same x and y coordinates and give it an offset for z.

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.