CangoJoe Posted October 9, 2017 Share Posted October 9, 2017 Hey all, I created a simple train prefab using the Leadwerks train and some boxcars models. I made the engine the parent and added the boxcars as children. I want the prefab train (with boxcars) to travel in a straight line to a waypoint. I attached a waypoint script to the parent (train engine) but only the engine moves and leaves the cars behind. Is there a way I can group all the elements of the prefab to move together as a unit or do I have to combine them in all in Blender first? Thanks in advance! -can Quote Link to comment Share on other sites More sharing options...
Core Posted October 10, 2017 Share Posted October 10, 2017 Try creating a pivot and put all models under it as children. Attach waypoint script to that pivot. Not sure why it woudn't work the way you tried, though... Quote Link to comment Share on other sites More sharing options...
CangoJoe Posted October 14, 2017 Author Share Posted October 14, 2017 Thanks Core but I decided to work around this issue for now by giving each boxcar its own waypoint - not pretty but it works. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.