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
Dev #3
Merged
Merged
Dev #3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ction, but this is on the Unity side.
sarbian
pushed a commit
that referenced
this pull request
Mar 23, 2014
Catch up with myself through sarbian/SmokeScreen.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modeled the smoke as noninteracting spherical smoke bubbles (the particles) that fill up with atmospheric air as they grow. When colliding, they are deflected sideways randomly
so that the "pressure" doesn't increase. EDIT: the proportion of the normal velocity which gets turned to random sideways velocity is1 - stickiness
, see last comment.Added support for drag, buoyancy and weight of said bubbles. You might want to change the defaults.
Note that with drag support, no damping should be used.
Hotrockets will look weird with this (damping, drifting smoke).
I tried making my own .mu file, and while it is okay for testing the general principles, things look pretty ugly.
Note however that the smoke correctly runs along the trench and rises (the drag coefficient and initial velocity of the smoke balloons needs to be tuned, it just looks like there's a giant barbecue underneath the rocket in this screenshot).
Do you have an unity project that I could tweak in order to facilitate debugging?