Created
July 29, 2014 08:26
-
-
Save Rumrusher/b6e99f6c188c17c2b7b4 to your computer and use it in GitHub Desktop.
this will give you the extra kick to your jumps only works if you're next to a wall, also follows laws of momentum so if your character comes to a complete stop they might not have enough X or Y speed to push them over the ledge.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function JUMP2() | |
--for k,v in pairs(df.global.world.proj_list.next.item) do | |
--printall(df.global.world.vehicles.active) | |
--S=0+getline() | |
--printall(df.global.world.vehicles.active[0]) | |
--df.global.world.vehicles.active[0].speed_y=(-900000) | |
df.global.world.proj_list.next.item.accel_z=(20000) | |
df.global.world.proj_list.next.item.speed_z=(20000) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment