Jump to content
Sign in to follow this  
newbee

HITIMPULSE ATTRIBUTE FOR FLIP

Recommended Posts

I am trying to use gasimpacttoattributes to create some hit impulse attribute for flip

but it seems like it doesn't work because i have no impact data..

does anyone know how to generate impact data and get hitimpulse to work for flip?

 

the only thread i found online was 

https://www.sidefx.com/forum/topic/37420/?page=1#post-170605

 

here is a simple scene file to test

hitimpulse.hipnc

if you check the spreadsheet u can see that the hitimpulse is 0

Edited by newbee

Share this post


Link to post
Share on other sites

Thanks for the setup I always wondered how to generate impact data with FLIP.

So what does the impulse value represent? Is it speed on impact?

Also, do you know what the value of the flags represent? I mainly see a 0 and a 4.

 

  • Like 1

Share this post


Link to post
Share on other sites

hitimpulse records strength of collision.

The values of hitimpulse depends on the force with which flip impacts the collider

 

I put together a quick test and noticed that:

if you increase flip incoming velocity and hit the collision object with more force the hitimpulse will have a higher range

 

Edited by newbee

Share this post


Link to post
Share on other sites

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  

×