Tram/train with keyframe smooth motion

Creator: opensimworld
Last Update: 12 months ago
Project Category: Vehicles

Project Instructions:

1. Put the script on a prim and sit on it.

2. Create a notecard 'route' with the points to route as follows:
format: | Delay (seconds ) to wait in the station | Message when reaching the station
if delay is not given for a point, the train will not stop there.
Example notecard:

<548.75177, 436.00000, 20.58994> | 20 | Central Station. This is a terminal station. Please get off the train.
<548.74750, 523.63678, 20.58994>
<281.04987, 645.59564, 20.58994>
<221.86533, 577.45013, 20.58994> | 20 | Airport
<119.64250, 280.28827, 20.58994>
<119.64250, 171.48422, 20.58994> | 20 | Slums. This is a terminal station. Please get off the train.

3. Sit on the train, click and select "Reset". The train will go back and forth forever. Click for pause/continue and reset menu

Project code

File name Created By Last Updated Actions
route opensimworld 12 months ago View Raw
Tram.lsl opensimworld 10 months ago View Raw


aztec8888 10 months ago
I also sent you this in a message. Your script works perfectly. Except my tram flips backwards and sideways when it goes up the mountain. How do I stop the rotation?