asxp3 Posted January 7, 2018 Share Posted January 7, 2018 Hi Guys I got a problem with pop sprite, I set a sprite rotation on my particle sim, I use rand(id) to make every particle rot differently but when the particle hit on the ground, the spriterot attribute keep going, so that it keep rotating on the ground when I assign a sprite texture, so is there a way to make the particle stop rotate once the particle hit on the ground? thanks a lot for your help. Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted January 7, 2018 Share Posted January 7, 2018 if you have collision information from your simulation you could do something like: if (f@hitnum >= 1) { v@v = 0; v@w = 0; } or if you don't want it to completely stop from one frame to another you could do *= 0.75 instead. might be a better way, but hard to say without a hipfile. let me know if you need more specifics Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.