Why does this command,
pieceimchecking = pieceray.gethitobject()
return nothing? If I print pieceimchecking it prints nothing. Pieceray is a sensor looking for objects with the property piece, all of my pieces on my gameboard have a string property named piece. The sensor is on true level triggering, with a range of one(which should be far enough, since the pieces are at z-0), shooting up the z axis (+ z axis). Whats up with this?