View Single Post
Old 10-27-2018   #23
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

If you want the bumper to not be dependent on the player's speed, just remove this block of code from LUA_BUMP:

Code:
	-- Bounce the player back slightly slower than the speed at which they hit the bumper.
	local playerVelocity = FixedHypot(playermo.player.speed, playermo.momz)
	if bumperStrength < (9*playerVelocity) / (10*FRACUNIT)
		bumperStrength = (9*playerVelocity) / (10*FRACUNIT)
	end
Either that, or use Bumper v1.1
FuriousFox is offline