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

Fix particle emission for scaled emitters #164

Merged
merged 1 commit into from
May 23, 2022

Conversation

MoritzBrueckner
Copy link
Contributor

@MoritzBrueckner MoritzBrueckner commented May 22, 2022

After #159 there were still some issues with scaled particle emitters.

  • Different dimensions on different axes weren't taken into account before, it was all based on the scalar object.data.scalePos.
  • Object dimensions were taken into account twice for emission from volume, I accidentally introduced this in 97c2866. For example the particles hair example was/is broken because of this.

- Different dimensions for different axes weren't taken into account before
- Object dimensions were taken into account twice for emission from volume
@luboslenco luboslenco merged commit 746376c into armory3d:main May 23, 2022
@MoritzBrueckner MoritzBrueckner deleted the fix-particle-emission branch May 23, 2022 10:25
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

2 participants