Jump to content
Lucas van Rossum

Detect colliding particles based on pscale

Recommended Posts

Hi

Im sure this is very easy but i am a bit lost with pointcloud.

 

The idea is to add the Pscale of the current point with the Pscale of point cloud points and compare it to the distance between the this two points.

It should return if they collide.

 

For the first iteration it works:

post-8260-0-45665100-1437428564_thumb.jp

 

 

 

but the second one failed:

post-8260-0-67024900-1437429014_thumb.jp

 

 

 

Collision.hip

 

thank you

 

lucas

 

Share this post


Link to post
Share on other sites

Thanks chrisopher

 

I completely agree with you. it's much more easier to read in vex code.

I'll give up with VOP when using a point cloud .

Share this post


Link to post
Share on other sites

You can use "POP Interact" by linking pscale to Core Radius.

Share this post


Link to post
Share on other sites

What I understood from his question is that he seemed to only want counting the number of collisions, not to apply any repelling force? Is this possible with the `POP Interact`?

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

×