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

Physics quite unstable #14

Open
lukaschod opened this issue Sep 10, 2023 · 4 comments
Open

Physics quite unstable #14

lukaschod opened this issue Sep 10, 2023 · 4 comments

Comments

@lukaschod
Copy link

lukaschod commented Sep 10, 2023

I tried playing around for few days with these packages, sadly I can confirm it is far from production ready.

Cylinder/Mesh colliders are very unstable. Also tried the same setup with float version and issues was gone.
unstable-physics

Frictions are quite off, as objects loses the force almost 2x faster than in float version.

sfloat:
friction-deterministic

float:
friction-no-deterministic

P.S. Yes the scenarios here shown are not exact the same for comparison. But it is quite obvious then u play around in the scene and in float version everything slides completely differently.

In any case, it is cool package modification and nice attempt for deterministic physics. However, if you dont plan using only boxes and sphere likes in example, you wont find this package doing what you want.

@lukaschod
Copy link
Author

Also, I did not dig deep enough to find out why these differences surfaces as from the surface level sfloat and float should do similar math, where sfloat simply would have no platform/processor specific differences. My guess maybe there is a bug in sfloat that causes these problems.

@loverorser
Copy link

Truly indeed!This project is just a total bull-shit

@eliveikis
Copy link

Thanks for posting this! Off to another rabbit-hole somewhere else :)

Please reply if you can recommend an alternative for device and platform-agnostic (pc, linux, osx, ios, android) fully deterministic physics. Personally I just need basic physics like ray, cube, sphere, cylinder, collision terrain vs each other with sweeping (delta movement) support and resolving the final position. Currently considering bullet physics in a unity plugin as the top option. Evaluated bepuPhysics (C# incompatibilities), and box2d (not 3d).

@loverorser
Copy link

Thanks for posting this! Off to another rabbit-hole somewhere else :)

Please reply if you can recommend an alternative for device and platform-agnostic (pc, linux, osx, ios, android) fully deterministic physics. Personally I just need basic physics like ray, cube, sphere, cylinder, collision terrain vs each other with sweeping (delta movement) support and resolving the final position. Currently considering bullet physics in a unity plugin as the top option. Evaluated bepuPhysics (C# incompatibilities), and box2d (not 3d).

I've used this https://github.com/aaa719717747/TrueSyncExample which was a light version of https://www.photonengine.com/

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