Sign in to follow this  

exporting pflow data

This topic is 3860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

im trying to export pflow data so i can get the particle system working the same as in max in my 3D engine. i've looked over the pflow source and the source for the gravity modifier, but what ever i try i cannot get my system to look like it does in max. my particle has a velocity value which i multiply by delta time each frame like so: particle->pos += particle->vel * deltaTime ive got particle speed working like so: particle->vel = direction * speed where direction and speed are raw values from pflow now gravity is the troublesome part: direction = nodePos - particle->pos dist = length(direction) direction = normalize(direction) if (decay != 0) strength *= exp(decay * dist) particle->vel += direction * deltaTime * strength * influence where influence = 10 thats 10,000% as in the pflow force influence dialog box strength and decay are the raw values from max any ideas whats wrong?

Share this post


Link to post
Share on other sites

This topic is 3860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this