It works. But the train is rotated 90 degree on x-axis and is located under the ground. I dont know why so I need to investigate why. Thank you for the tutorial though.
Hey sorry if I'm bothering, but it seems I have an error after having imported the package, it is for some reason unable to find "Handles.DotCap". For clarification, "Handles" itself is fine, but ".DotCap" itself is MIA. I Have this error in "Bezier Spline Inspector", around the 140th line, in the ShowPoint(int index) function
Switch like what? Recently I make a slider that works as switch to switch between rail road intersection in my new train controller tutorial: th-cam.com/video/fF5mjBfA2co/w-d-xo.html
Assets\Spline Walker Train\Editor\BezierSplineInspector.cs(113,89): error CS0117: 'Handles' does not contain a definition for 'DotCap' Unity 2020.3.39f1
@@andreimaroz6202 Ah... I have already written my decision, and this project has not been relevant for a long time. but thanks anyway. th-cam.com/video/ln2wPumWrRE/w-d-xo.html&ab_channel=NightKot
Bonjour bon tuto merci, est t'il possible de me dire comment modifier le script locomotive pour que je puisse la faire avancé avec la touche haut et la freiner avec la touche bas, merci d'avance pour toutes réponses.
Hello! Thanks for this tutorial, if the spline were open and instead of when the animation of point B ends it starts again at point A, how could it be done so that point B makes a reverse and returns to A?
And also, do you think it is possible that once reaching that point B the color of the material of the sphere would change and now do the "reverse" route, it is for a school project and I'm actually starting to use unity, thanks .
Do you know how to have an object follow the spline but ignore it's Y-value? My goal is to have a player run along different slopes while following the spline but moving up and down the slope with perhaps ProjectOnPlane. Thanks for your help!
Ola, no jogo Deadliest Catch The Game, tem no tutorial um sistema de missoes que temos, que seguir, e podemos interagir com objetos apertando E e pegando os mesmos e executando os procedimentos, tem alguma video aula que ensina a fazer este procedimento, gostei desse sistema de missoes, obrigado.
Hi! Amazing demonstration of this project you made! I can't wait to start playing around with it. I have an issue: When I load up the SplineWalkerTrain scene, the hierarchy indicates that there missing prefabs; I assume they're the wagon and locomotive because they're not anywhere else in the scene. Also, I cannot drag the SWT prefabs onto the scene. Please let me know how I can handle, thanks!
Try to import everything in the package, and run SplineWalkerTrain scene inside the imported folder. But before hitting play button, adjust camera position somehow to cover train objects because initially camera is in wrong position that's why you did not see anything.
Your voice is so good
wish my teacher had such voice
Hahahahaaa
It works. But the train is rotated 90 degree on x-axis and is located under the ground. I dont know why so I need to investigate why. Thank you for the tutorial though.
ok quick update : it does not work after upload and publish. It only works in the emulator.
hmm.. interesting.
Hey sorry if I'm bothering, but it seems I have an error after having imported the package, it is for some reason unable to find "Handles.DotCap".
For clarification, "Handles" itself is fine, but ".DotCap" itself is MIA. I Have this error in "Bezier Spline Inspector", around the 140th line, in the ShowPoint(int index) function
API Changed. Rewrite Handles.DotCap to Handles.DotHandleCap
if (Handles.Button(point, handleRotation, size * handleSize, size * pickSize, Handles.DotHandleCap))
Hm... I'm not sure abt it
ummm can the train stop for stations or that still a work in progress??
haha yeah sorry still not working with collision... I'm so busy can not continue the tutorial for now
Do you know how to make a switch ?
Switch like what? Recently I make a slider that works as switch to switch between rail road intersection in my new train controller tutorial: th-cam.com/video/fF5mjBfA2co/w-d-xo.html
Assets\Spline Walker Train\Editor\BezierSplineInspector.cs(113,89): error CS0117: 'Handles' does not contain a definition for 'DotCap' Unity 2020.3.39f1
sorry I have no idea...
You can use some other control like Handles.SphereHandleCap
@@andreimaroz6202 Ah... I have already written my decision, and this project has not been relevant for a long time. but thanks anyway. th-cam.com/video/ln2wPumWrRE/w-d-xo.html&ab_channel=NightKot
change to DotHandleCap
if (Handles.Button(point, handleRotation, size * handleSize, size * pickSize, Handles.DotHandleCap))
i guess this doesn't work on Unity 2d. I get an error after i imported the package
hmm yeah correct, this tutorial is for 3d train.
Bonjour bon tuto merci, est t'il possible de me dire comment modifier le script locomotive pour que je puisse la faire avancé avec la touche haut et la freiner avec la touche bas, merci d'avance pour toutes réponses.
Sorry for late reply :D I can not make tutorial about it for now, I'm sorry again..
is it possible to add custom trains/wagons to the path and have them connect?
Sure you can try.... But I cannot guarantee, this script still has many bugs. lol.
can i use this method in 2d as well ?
not sure :D
Hello! Thanks for this tutorial, if the spline were open and instead of when the animation of point B ends it starts again at point A, how could it be done so that point B makes a reverse and returns to A?
And also, do you think it is possible that once reaching that point B the color of the material of the sphere would change and now do the "reverse" route, it is for a school project and I'm actually starting to use unity, thanks .
Hi, no problem... Hmm, but unfortunately that's all what I know, I don't know how to reverse it. Haha.
amazing
thanks
Do you know how to have an object follow the spline but ignore it's Y-value? My goal is to have a player run along different slopes while following the spline but moving up and down the slope with perhaps ProjectOnPlane. Thanks for your help!
Sorry, no.
It's a complicated thing to me about splines and curves in Unity. Haha.
the following wagon is shaking. How can I make it smoother. Any ideas dude? :).
sorry I'm also still learning it.. kinda difficult
Ola, no jogo Deadliest Catch The Game, tem no tutorial um sistema de missoes que temos, que seguir, e podemos interagir com objetos apertando E e pegando os mesmos e executando os procedimentos, tem alguma video aula que ensina a fazer este procedimento, gostei desse sistema de missoes, obrigado.
I see.. thank you.
Hi! Amazing demonstration of this project you made! I can't wait to start playing around with it.
I have an issue: When I load up the SplineWalkerTrain scene, the hierarchy indicates that there missing prefabs;
I assume they're the wagon and locomotive because they're not anywhere else in the scene.
Also, I cannot drag the SWT prefabs onto the scene.
Please let me know how I can handle, thanks!
Hi hold on I'll be back...
Try to import everything in the package, and run SplineWalkerTrain scene inside the imported folder. But before hitting play button, adjust camera position somehow to cover train objects because initially camera is in wrong position that's why you did not see anything.
要用新的unity版本 因为旧版本的prefabs和新版本的不一样
@@李渊-u9y nice..
@@李渊-u9y "Use the new Unity version because the prefabs of the old version are different from the new version"
Thanks! This was the issue.
Tutorial about how to bild a curve, nothing more..(((
yeah that's all what I know.. I'm also a beginner