I was thinking of making an 'El Toro' kind of ride, but using FVDs, and a better layout and more elements.
I just need some help with the FVDs themselves.
;;;;;;;;;;;;;;;;;
;; USER INPUT [1]: BANKING-TIMES
bTimA = 12
bTimB = 0
;;;;;;;;;;;;;;;;;
;; USER INPUT [2]: G-FORCE-TIMES
gTimA = 3
gTimB = 3.5
gTimC = 3
gTimD = 0
gTimE = 0
SWITCH[T]{
CASE[0.000,gTimA]{; < - - - - - - - - 'gTimA'
S=T/gTimA
tFunk = 6*pwr[S,5]-15*pwr[S,4]+10*pwr[S,3]
gPunk = 4.0
}
CASE[gTimA+0.000001,gTimB]{; < - - - - 'gTimB'
S=(T-gTimA)/(gTimB-gTimA)
tFunk = 6*pwr[S,5]-15*pwr[S,4]+10*pwr[S,3]
gPunk = -1.3
}
CASE[gTimB+0.000001,gTimC]{; < - - - - 'gTimC'
S=(T-gTimB)/(gTimC-gTimB)
tFunk = 6*pwr[S,5]-15*pwr[S,4]+10*pwr[S,3]
gPunk = 4.0*tFunk
------------
Can you tell me what I did wrong above? The g-forces are what I want them to be, and the g-force times are the only times that are correct so far (bTimA is not exact yet). I know, I am a newbie at this. I just need some help.