// obrotnica o dlugosci 21 metrow
// (p1) nazwa wlasna (p2) (p3) (p4) wspolrzedne (p5) rotacja

origin (p2) (p3) (p4)
rotate 0 (p5) 0
node -1 0 (p1) model 0 0 0 0 eng/obrotnica21m.t3d none endmodel

rotate 0 0 0
endorigin

//zdarzenia zewnetrzne:

event (p1)_tor1 multiple 0 none (p1)_stop (p1)_tor1rot (p1)_go endevent
event (p1)_tor2 multiple 0 none (p1)_stop (p1)_tor2rot (p1)_go endevent
event (p1)_tor3 multiple 0 none (p1)_stop (p1)_tor3rot (p1)_go endevent
event (p1)_tor4 multiple 0 none (p1)_stop (p1)_tor4rot (p1)_go endevent
event (p1)_tor5 multiple 0 none (p1)_stop (p1)_tor5rot (p1)_go endevent
event (p1)_tor6 multiple 0 none (p1)_stop (p1)_tor6rot (p1)_go endevent

event (p1)_tor1rot animation 1 (p1) rotate dzwigar 0 0 7.5 2 endevent
event (p1)_tor2rot animation 1 (p1) rotate dzwigar 0 0 0 2 endevent
event (p1)_tor3rot animation 1 (p1) rotate dzwigar 0 0 -7.5 2 endevent
event (p1)_tor4rot animation 1 (p1) rotate dzwigar 0 0 -15 2 endevent
event (p1)_tor5rot animation 1 (p1) rotate dzwigar 0 0 -22.5 2 endevent
event (p1)_tor6rot animation 1 (p1) rotate dzwigar 0 0 -30 2 endevent

event (p1)_stop animation 0 (p1) rotate WZ1 0 0 0 100 endevent
event (p1)_go animation 20 (p1) rotate WZ1 0 0 90 100 endevent
