I’ve been looking everywhere for this, but can’t seem to find the begger. How on Earth’d you unpack getRGBA to four floats?
I guess you need to do something like this:
In theory, yes. Only the KX_GameObject has no getRGBA; it’s in getMesh.getVertex. And getRGBA isn’t subscriptable, requesting getRGBA() will simply return the unsubscriptable error. Even if it did work, it’d return the packed fragment, not the float.
Bump? Getting no closer to this myself. Tried every float unpack I can think of.