Hi, I am new to making games but my game involves needing a train that just needs to move straight then stoping. I have been looking at videos but they have not been so helpful. But if there is anything that can help me. please tell me
Keep in mind that you should use a CFrameValue as a variable for the train model’s CFrame to depend on. You can tween this CFrameValue, however keep in mind that this will make the train model to slowly move in a straight line as the tween would just tween the CFrame value to the next CFrame value in a “straight line”, I hope you understand this.
Do you need a player to be able to ride the train or is it just for visual effect? You would need to do it a different way if you want it to be rideable.
Ok, do you have a train model already? If you do, then you can weld all the parts in it together with weld constraints and use a BodyVector to move the train so players can stand in it and sit without falling or sliding off.