Jump to content

Display contact points all at once


Mark01

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
Link to comment
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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...