Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Camera: Higher frequency limit for view/hand bobbing and footsteps #4457
'm_view_bobbing_speed' controls the frequency of view bobbing,
Rebased version of #1908
'm_view_bobbing_speed' gets its value from the length of the player speed vector, so is proportional to player speed (of course) but has a limit in place to avoid excessively fast sound events and bobbing when using 'fast move' (20 nodes per second == 45mph). Currently the limit is set (wrongly) at walking speed / frequency (40).
We have a 'set physics override' API so modifying player speed is common in mods. It is also easily done by modifying player speed in .conf or advanced settings.
'fast move' is not 'Minetest run', it's an unrealstic admin/cheat/superpower, however it does look better when a higher maximum frequency is allowed.