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

Fast moving rigid bodies pass through other bodies #1510

Closed
smkplus opened this issue Mar 5, 2019 · 2 comments
Closed

Fast moving rigid bodies pass through other bodies #1510

smkplus opened this issue Mar 5, 2019 · 2 comments

Comments

@smkplus
Copy link

smkplus commented Mar 5, 2019

I have many problems with playcanvs physics it's bull shit!
balls crosses from other balls

record_2019_03_05_11_18_37_795

https://playcanv.as/b/ZlZnaZ7Z/

I like to set physics like this
http://www.flyordie.com/snooker/

@yaustar
Copy link
Contributor

yaustar commented Mar 5, 2019

Please stop getting frustrated at the problem and indirectly, at the people that are trying to help you.

  1. PlayCanvas is using Ammo physics which is compiled version of Bullet. A well matured and long running physics library used for games.

  2. This is a common physics problem for a lot of libraries including the one included in Unity.

  3. Have you enabled CCD on the physics like I mentioned in the forums? It's expensive but need for fast moving objects. Basically the object is moving so fast (more than its length) in each simulation step that it's going through the other objects. CCD does another broad pass to check for collisions.

@yaustar
Copy link
Contributor

yaustar commented Mar 5, 2019

As the conversation is going on in the thread here, this ticket can be closed. It isn't a bug with the engine really (beyond maybe exposing CCD options to the user)

https://forum.playcanvas.com/t/physics-not-work/9432/15

@willeastcott willeastcott changed the title Physics Problem!!!! Fast moving rigid bodies pass through other bodies Mar 14, 2019
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

3 participants