Unity Tutorial: Creating a Simple Railroad System in Unity3d using Cinemachine (Indie DevLog #4)

preview_player
Показать описание
Check out our game demo on Steam:

Ever wanted to play model #train in #Unity3d ? This is what you get. Create a simple #948685 railroad system where you can simply stitch track parts together, put a train on the track, and off it goes. The approach uses the waypoint system coming with Cinemachine.

In this tutorial I use assets from Synty Studios:

Artificial Intelligence is a world on its own and resides somewhere out on the ocean, and it is called Apagayo Island. With the increasing importance of AI technology for our own world, more people should understand what they are working on on this island. But unfortunately, for many people this world is not accessible as they lack the required math and coding skills. This leads to a lot of myths and weird stories about AI technology.

This channel is an adventure to the secrets of Apagayo Island. It tries to educate in an entertaining way by storytelling in a game-like world, inspired by the classical computer game series Monkey Island. The foundation of AI is explained without the need of studying math and coding. So, join us in discovering the secrets of Apagayo Island.

This channel is also an experiment. Besides explaining what ai is, I will provide a devlog on my gamedev approach, and the background of how I develop Apagayo Island in Unity3d. Hope you have a great learning experience!

.......................................................................

USED ASSETS (Affiliate links)

.......................................................................

ABOUT
I am Christian, I have a Ph.D. in theoretical physics, and almost 20 years of experience in the IT industry, mostly as chief architect in a large software company. In 2018 I founded Atlantic Tech & Candy to bridge the gap between the AI and the business world.

This course is especially intended for non-experts.

CONTACT

SOCIAL MEDIA

PRODUCED BY
Рекомендации по теме
Комментарии
Автор

works like a charm ! tram of 5 carriages running realistic on tracks without joints

lucasoosterbaan
Автор

DUDE. This is going to be so helpful. It never occurred to me to make use of the built in path system. It's so simple, so elegant. Thank you kindly!

heybishop
Автор

this worked well but I had to manually create the path, the track generator would just add all the points on top of each other, but it is a great solution, thanks!

peileed
Автор

Lovely of you to make the package available like this, am making a chill island game where you can fast travel around or go to other islands by a sea train, this will be perfect :))

SLASHERHEATH
Автор

Very cool...thanks for sharing. With references to trains, The Big Bang Theory and my favorite game from years ago, Monkey Island, I just had to subscribe.

CamperJohn
Автор

You said you have to make it in the correct order but what if you wanna go the other way or make it so that the player can build their own train track?

Rubberduckerino
Автор

I was starting to think that I will need to make a similar library for my game. I was thinking to do it the functional way for accuracy. I hope it will be useful

РусланГабзалилов-гъ
Автор

While I probably don't need the asset, learning about cinema chine dolly solved a problem I was working on

BruceBarnes
Автор

Thanks for sharing! and How can I add railroad in game? (when I add railroads in playing game and click 'Generate Track' button -> Track Path added but cart doesn't follow the added path)

강예건-xx
Автор

Hi I've come across your channel, I've subbed but have you stopped doing videos

random_precision_software
Автор

I have an issue with the "Cinemachine" in the Track Generator Script. Does anyone know how to fix this? CS 0246 is the code.

paulandersson
Автор

Hey Christian, thanks for the nice tutorial. I've tried out your sample project and there seems to be some issues with the short track. the tangent values are too large for the short track to work properly. i guess there would be the need for more spline points along the track to capture more cases? have you experienced the same issue?

rapideye
Автор

I appreciate the video. a new version would be nice in cleaner video quality. THANKS!

micflynn
Автор

this work in VRChat?? really wanna make a train for a world im making

gearturner
Автор

What about controlling your train if you had a split in the path? Are you limited to 1 or could they diverge into multiple options?

csellers
Автор

8:41 When you're programming a train game and accidentally create Star Fox 64

derekw
Автор

For some reason when I hit "Generate Track" nothing happens, any idea what's going on?

LaceUpBrah
Автор

this is amazing!! I love how in-depth you go into explaining. It really helped me a lot. I was wondering whether if it is possible to make the camera look around while being on the train (not leaving the train, just looking around the environment on the train), kind of like a web VR feature, thanks again!

junesbee
Автор

Can we attach switch with path and multiple path switching ?

MohammadFaizanKhanJ
Автор

Hello. I tried to do this system. And everything orks fine, just one problem - on some corners on generated track if waypoints uses tangent x, next waypoint also gets curved, not straight. Maybe you kno what it could be?

mtarailis
join shbcf.ru