Hack wrote:Read through the RS developer docs. They contain many of the answers you seek.
True, but they can be a bit confusing, especially as they don't give an example for a steam locomotive.
Here's a quick explanation.
First, you should organise the parts of the model in the following group hierarchy:
Scene (that's the default root group for everything)
.. Locomotive
..<in the locomotive group, put the objects that aren't part of the bogies>
....bo01
....<objects that are part of the pilot truck, except for the wheels>
......bo01wh01
......<The pilot wheels and axle. This should be called 1_2000_bo01wh01 >
......bo01wh02
......<Even if the pilot truck has only one axle, you still need to give it two! The second one can be a simple box that you paint with a material to make it invisible. It should be placed along the centreline, about 1 metre towards the front of the loco. Call it 1_2000_bo01wh02>
....bo02
....<objects that are part of the valve gear and motion, except for the wheels. The valve gear and motion will need to go into further subgroups, but we'll worry about that later .. much later>
......bo02wh01
......<The wheels and axle nearest to the pilot truck. Call the object 1_2000_bo02wh01>
......bo02wh02
......<The wheels and axle in the middle (intermediary). Call the object 1_2000_bo02wh02>
......bo02wh03
......<The wheels and axle furthest from the pilot truck. Call the object 1_2000_bo02wh03>
....bo03
....<objects that make up the trailing truck, except for the wheels and axle>
......bo03wh01
...... just like the bo01 above, and you actually need two axles (one can be invisible).
I think the reason you need two axles for the trucks is that RW isn't capable of placing a one axle truck onto the rails. It needs two axles so that it can work out the angles. It can't cope with Segways.
Make sure you can see the group centres (better to display everything in wireframe mode, so yo ucan see the red, green, blue axis thingies). Then make sure that the group centres of the wheels really are in the centre! If not, you'll have to go into shift mode, shift the object until it's centre lines up with the group centre, and then in normal mode, move the object (along with its group centre) back into position.
Do the same with the group centres for the group bo01 (pilot truck). Nake sure that its positioned where the truck pivot is located.
The group centre for the bo02 doesn't matter, but I always place it in the exact same spot as the group centre of locomtive, which has to be at rail height (very important! otherwise your loco will float).
When you've got all that done, we can go on to make the blueprints for the trucks and engine.
Also, make sure that you can export the model to Railworks as an .igs file. Do it by going to File > Export > Trainworks (you must enable this in the options) > Railworks... (igs). Everything has to have been textured first, otherwise you'll get an error message saying the export may (might, sic) be invalid because of an untextured part. In fact, do as I said before, and just try exporting the model as a simple scenery object, so that you can view it in the object viewer and see roughly how it's going to look in RW. You can even export it to RW and place it as a scenery object if you want, just to take a screenshot. You don't need the groups and animation to do that.