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

Stop items from rotating once they land #95

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

SubprimeMover
Copy link
Contributor

Rotation physics are applied to falling and rotating objects only. This means that grenades will no longer keep rotating once they land.

This also removes the need for the rotating pickup check. (I guess rotating items get their physics set to "rotating", and others get it set to "none").

Visual Studio also autoformatted some other parts of the file. Hope it's not an issue.

Rotation physics are applied to falling and rotating
objects only. This means that grenades will no longer keep rotating
once they land.

This also removes the need for the rotating pickup check.
(I guess rotating items get their physics set to "rotating",
and others get it set to "none").
The rotation must be applied for the Projectile physics mode also.
@dpjudas dpjudas merged commit 2bfb8f8 into dpjudas:master Feb 18, 2024
3 of 4 checks passed
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.

2 participants