-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Bullet Physics is random because the solver is random,please support developer select the solver's mode or reset the solver's random seed #17769
Comments
I don't quite understand
Could you describe it in detail? Thanks. |
relaunch the scene,the result will be different,such as the order of many balls' collision. |
I bind the method,found the seed always be 0,there should have another reason.When I relaunch the scene, the result would be diffrent,But If I restart the app,the result would be same.So the random result was caused by random seed. |
Yes,I solved the problem.
|
Use Case
when I run the physics,the result was random.I read the bullet code,found the problem is random seed.Bullet support the random seed's reset,but cocos did not support it.
Problem Description
the physics' result is random,frame sync was blocked.If player restart the app,and reconnect the game,the physics' result will be different.If support the random seed's reset,developer can reset all seed to ensure the result's consistent.
Proposed Solution
No response
How it works
No response
Alternatives Considered
support reset the random seed or solver's mode select
Additional Information
No response
The text was updated successfully, but these errors were encountered: