Jump to content
Mark01

Display contact points all at once

Recommended Posts

Hey guys, 

This should be fairly simple. 

I have a ball bouncing on a plane, I am finding the contact points but rather than displaying then one at a time as the ball bounces, I need them all together on a frame hold

I am transferring the Cd attribute from the ball to the plane to get the contact points. 

Then we are removing all ground geometry except the contact points

if (@Cd.g >= 0)
	removepoint(0,@ptnum);

the contact points appear frame by frame as the ball is bouncing. Any idea how to get them all to display at once?

 

So I guess I need to store the contact point somehow?

Edited by Mark01

Share this post


Link to post
Share on other sites

Hi,

this example shows you how you can get impact points after simulation with bullet solver. This method you can use with classic animation. Since you already managed to get the points just use solver sop only.

 

dop_import_records.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the reply! 

i think it's even simpler than what you described. 

i am just trying to store all the color from the impact points on the ground. 

I assume this can be done with a sop solver and reading the previous frame but im not sure how?

Share this post


Link to post
Share on other sites

[SOLVED]

 

Bring the attribute transfer into the solver rather before it :)

 

Share this post


Link to post
Share on other sites

@Mark01 Exact what that Link and File Do(Only At Once all) ...Just search this Dude on Vimeo he Posted Files and Hda  ---- Chen Zeng ---

 

grwww0850.gif

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

×