IS GEAR FLOATS not boolean?

Hey there, trying to understand the values here…
Does it mean there are 8 floats and 4 wheels?

image

Since 8 and 4 aren’t 1 or 0, I’m confused as to what kind of Boolean this is.

Regards,
Keven

1 Like

From that I’d guess they’re stored internally as a single bitmask integer, and the sim variable is returning the bit instead of a boolean.

Since 8 and 4 aren’t 1 or 0, I’m confused as to what kind of Boolean this is.

Matches the definition of the “boolean” unit in the SDK docs:

The only reliable numeric equivalent is that 0 is returned for False. Non-zero values, especially both 1 and -1, are used to indicate True.

1 Like