Closed Snouf-ID closed 4 months ago
The coloring rules for MotionTypeColor are very simple:
The only reason why a body would be gray is if it is static. All sGetDistinctColor's differ from gray:
(note the first and last ball have the same color because sGetDistinctColor repeats after 36 colors)
So I don't understand how a dynamic object could be gray and it is also not something I see happening in the samples app.
an random drive bug, color is ok in code, sorry
Hello :)
When I use DrawBodies functions for visual debug, my first dynamic object is the same color as the ground (static object). Kind of gray/white. After adding a second dynamic ball, which is indeed a different bright color, I conclude that it's just bad luck for this first color. This happens starting from the HelloWorld.cpp sample with the ground and the ball.
I would expect to never have this color for dynamic, or at least not start with it. It's confusing in MotionTypeColor mode.
I'm using Jolt 5.0.
thanks in advance