Ancestors

Toot

Written by sph/nx on 2024-09-25 at 10:38

Question for the #bevy #gamedev community here:

When I start my game, apart from the terrible performance, this relatively simple shape starts to "dance" on its own while other shapes are standing still and are even able to "sleep".

The scene consists of a very simple half-space collider and four cuboid colliders. The colliders for the dynamic objects are generated via Avian's collider constructor and are, supposedly, convex hulls.

Question: Why the dancing and why the bad performance? šŸ™

=> View attached media

=> More informations about this toot | More toots from sphinxc0re@ruhr.social

Descendants

Written by chfkch :nixos: :rust: on 2024-09-25 at 11:09

@sphinxc0re

Which physics engine do you use? Some have a debugging mode/overlay.

[#]bevy #gamedev

=> More informations about this toot | More toots from chfkch@ruhr.social

Written by sph/nx on 2024-09-25 at 11:12

@chfkch Iā€™m using Avian3d. But the debugging plugin is already turned on. You can see the outlines of the colliders drawn by it.

=> More informations about this toot | More toots from sphinxc0re@ruhr.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113197759037024783
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
263.299761 milliseconds
Gemini-to-HTML Time
0.920627 milliseconds

This content has been proxied by September (3851b).