Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csutils-thrown molotovs/inc grenades don't spread correctly #44

Closed
splewis opened this issue Sep 14, 2017 · 2 comments
Closed

csutils-thrown molotovs/inc grenades don't spread correctly #44

splewis opened this issue Sep 14, 2017 · 2 comments
Labels

Comments

@splewis
Copy link
Owner

splewis commented Sep 14, 2017

Molotovs typically spread in a cone in the direction the player was facing when it was thrown (or equivalently, in the x/y direction of it's trajectory).

Right now, they always spread the same direction (possibly based on the bot's position when throwing).

@splewis splewis added the bug label Sep 14, 2017
@splewis
Copy link
Owner Author

splewis commented Sep 18, 2017

I've tried saving & restoring the values of:

  • m_vecAngVelocity
  • m_angAbsRotation
  • m_angRotation

The last 2 were always zero in my tests when the nades are created, the 1st wasn't, but restoring it in the native didn't fix anything. I see m_angRotation gets updated in demoes, but it's not clear if the field impacts how the molotov will spread.

@splewis
Copy link
Owner Author

splewis commented Mar 6, 2018

def83e9 seems like it has fixed this.

@splewis splewis closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant