redeclipse / base

Base environment for Red Eclipse and associated source files.
https://redeclipse.net/
436 stars 90 forks source link

[BUGBOT][Game logic] Grenade Throwing Mechanics - Crosshair Alignment Confusion #1578

Open discord-bugcrawler[bot] opened 2 months ago

discord-bugcrawler[bot] commented 2 months ago

[BUGBOT][Game logic] Grenade Throwing Mechanics - Crosshair Alignment Confusion

Description

Players are experiencing confusion with the grenade throwing mechanics in Red Eclipse. The crosshair for throwing grenades requires players to aim below their intended target, contrary to the typical expectation of aiming above to compensate for gravity.

Workarounds

n/a

Information

Calinou commented 2 months ago

This occurs because grenade velocity is relative to the player velocity at the time of throwing. This means that if walking forwards and aiming downwards, you need to compensate for your forwards velocity.

This can get worse once you add vertical velocity into the mix (jumping/falling).

One way to mitigate this would be to only take forward/backward velocity into account for grenade throws (relative to the player's camera pitch), and ignore upwards/downwards and left/right velocity.