cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Bullet Physics is random because the solver is random,please support delveloper to select the solver's mode or reset the solver's random seed

Open longchuan opened this issue 1 year ago • 0 comments

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

longchuan avatar Oct 23 '24 14:10 longchuan