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

SV_HullForBsp: use hull center instead of corner #197

Merged
merged 1 commit into from Apr 16, 2016

Conversation

WPMGPRoSToTeMa
Copy link
Contributor

If bbox size greater than hull size:
with old code: hull is located in bbox negative corner (-x and -y).
with new code: hull is located in bbox center.

@IgnacioFDM
Copy link
Contributor

What difference does this make in-game?

@theAsmodai
Copy link
Collaborator

This will affect to movement of entities like missiles.
@WPMGPRoSToTeMa, yes, I think a cvar is desirable.

@WPMGPRoSToTeMa
Copy link
Contributor Author

64x64 (from -32 to 32):
agrunt64x64
128x128 (from -64 to 64) sv_rehlds_hull_centering 0:
agrunt128x128
128x128 (from -64 to 64) sv_rehlds_hull_centering 1:
agrunt128x128centered

@hajimura
Copy link

@WPMGPRoSToTeMa, nicely done

@theAsmodai theAsmodai merged commit 1d4def6 into dreamstalker:master Apr 16, 2016
@WPMGPRoSToTeMa WPMGPRoSToTeMa deleted the fixhullcenter branch December 23, 2016 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants