- Joined
- Jul 5, 2010
- Messages
- 1,132
Hey guys
I have an issue regarding calculation of flying height for my jump system.
So, it is supposed to ignore the terrain and move independently, maintaining the original parabola. It looks like this (it is not in Trigger tag for better overview):
( StartingCliffHeight - CurrentCliffHeight ) + (CurrentHeight + PeriodicalHeightIncreasement)
Starting Cliff Height - the height of the terrain where the jump began.
Current Cliff Height - the height of the terrain where the jumper is now.
Current Height - current height of the jumper (doesn't use current flying height).
Periodical Height Increasement - value that reduces with every repeat of the trigger, and an be negative, so it is crucial for the parabola.
I can't seem to find the problem. Any ideas?
So, it is supposed to ignore the terrain and move independently, maintaining the original parabola. It looks like this (it is not in Trigger tag for better overview):
( StartingCliffHeight - CurrentCliffHeight ) + (CurrentHeight + PeriodicalHeightIncreasement)
Starting Cliff Height - the height of the terrain where the jump began.
Current Cliff Height - the height of the terrain where the jumper is now.
Current Height - current height of the jumper (doesn't use current flying height).
Periodical Height Increasement - value that reduces with every repeat of the trigger, and an be negative, so it is crucial for the parabola.
I can't seem to find the problem. Any ideas?