JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Grenade Rolling behavior #293

Open Silverfang22 opened 5 years ago

Silverfang22 commented 5 years ago

Grenade "Roll" mode should have different movement physics from throwing, it should have them move across the ground and be able to bounce off of walls.

Perfecting the physics without having a real physics engine will probably be impossible, they should still bounce like normal grenades do if they fall off of a ledge, but they should tend to "slide" in one direction while lying on its side on one axis while rotating on the perpendicular axis.

This will work good enough for both "cylindrical" grenades and "spherical" grenades.

Silverfang22 commented 5 years ago

https://youtu.be/Blrjb7SlA28