Hey there, trying to understand the values here…
Does it mean there are 8 floats and 4 wheels?
Since 8 and 4 aren’t 1 or 0, I’m confused as to what kind of Boolean this is.
Regards,
Keven
Hey there, trying to understand the values here…
Does it mean there are 8 floats and 4 wheels?
Since 8 and 4 aren’t 1 or 0, I’m confused as to what kind of Boolean this is.
Regards,
Keven
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.