-
Notifications
You must be signed in to change notification settings - Fork 714
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
CCD #366
Comments
do you have a demo somewehere? |
I have a video. By default, the CCD is turned on at a speed of 10+. |
Wow, impressive! |
Cool and just in time! I control the ball by applying force (directed to the left or right). With CCD, angularVelocity builds up too quickly, and then the ball gets thrown hard (look like in opposite direction of applied force, or maybe direction depends on angularVelocity, i don't know for sure). Without CCD it's stable, no unexpected speed ups. |
I did not add a correction for angular acceleration and rotation, if it is necessary - I can add |
that is a really cool looking demo! |
@bllem It would be great to have full-blown CCD in cannon.js, so if you have the time... :) |
I have used your new build of cannonjs but still not working , is that something need to set up? |
in body options you can setup ccdSpeedThreshold - speed s at witch CCD starts to work and - ccdIterations collision accuracy. |
Hello.
Did a real shooting from the weapons in the shooter, and fought with the lack of ccd in cannon, but it is present in p1. Moves ccd into the cannon, and it works great. I removed the rotation, because I did for the bullets. Perhaps someone will need
https://github.com/bllem/cannon.js/commits/master
The text was updated successfully, but these errors were encountered: