Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collision Feature ? #13

Open
gacarita opened this issue Feb 14, 2024 · 1 comment
Open

Collision Feature ? #13

gacarita opened this issue Feb 14, 2024 · 1 comment

Comments

@gacarita
Copy link

Hi there,

I would like to know if this package is capable of solving collision events between particles. For example, in rubble piles and asteroid formation.

@islent
Copy link
Member

islent commented Feb 15, 2024

Sorry that rigid body collision event is not supported by now.

However, you can hack the code by inserting the collision detection algorithm as a background force. In more detail, the "background force field" function can do the following things:

  • find particles that close enough to this particle
  • determine the collisional acceleration
  • assign the particle acceleration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants