Page 1 of 1
Posted: 24 Nov 2011, 02:58
Dave-o-rama
You know how the train object (see Toy World 2) moves around, and then when it hits a certain point outside the track's body, it resets itself and moves along the same line? Well, is there any way I can control exactly where in my track the train starts and then resets itself to move along that line? Right now, the way I have the trains, they move along my track like they should, then they reach outside the track's body, they keep going. Then, they reset themselves just outside the track's body. like this:



EDIT: linked to pic because posting it here messes up the board.

Posted: 24 Nov 2011, 18:51
jigebren
Well, the trains reposition seems to be hardcoded in the game:
The train moves along the Z axis when it reaches Z=-11500, its Z coordinates is reset to -400.

Unless there a trick to reposition object (I don't think so) or to use the object thrower to periodically throw a new train and let it vanish out of the track (not sure it's possible either), you'll have to move the whole track so as the train fits in the [-11500, -400] interval along the Z axis.


EDIT:
And a good way to link to an imageshack image with a thumbnail is to use the following code pattern:

Code: Select all

[URL=http://img850.imageshack.us/img850/2389/newbitmapimagerl.png][IMG]http://img850.imageshack.us/img850/2389/newbitmapimagerl.th.png[/IMG][/URL]

Posted: 24 Nov 2011, 19:02
Dave-o-rama
jigebren @ Nov 24 2011, 09:21 AM wrote: Unless there a trick to reposition object (I don't think so) or to use the object thrower to periodically throw a new train and let it vanish out of the track (not sure it's possible either), you'll have to move the whole track so as the train fits in the [-11500, -400] interval along the Z axis.
I don't think there are those things in RV either, so I guess I'll just have to move the track, which is actually a lot easier of a solution than I thought I'd get. Thanks jig! :)
jig wrote:EDIT:
And a good way to link to an imageshack image with a thumbnail is to use the following code pattern:

Code: Select all

[URL=http://img850.imageshack.us/img850/2389/newbitmapimagerl.png][IMG]http://img850.imageshack.us/img850/2389/newbitmapimagerl.th.png[/IMG][/URL]
Edited first post with this. Normally I'm too lazy to add the thumbnails :P