I can think of many ways to do this.
Not sure there is anything directly off the shelf. You will probably need something like Chataigne or Touch Designer to mediate between the sensor and Resolume.
How accurate does it need to be, and how far will the piece of scenery be travelling?
One approach is homebrew, quick & dirty.
Use an Arduino to read a distance sensor pointed at part of the scenery, send that into Chataigne, and convert it into MIDI or OSC. I've used Sharp IR sensors in the past, they have a long-range variant that could work.
https://www.sparkfun.com/products/8958
Another approach is to put a rotary encoder on a wheel, attached to the scenery. Use an Arduino to read the encoder, and send the readings to Chataigne. This might be a good starting point:
https://hackaday.com/2018/12/13/every-c ... y-encoder/
There are tons of different ways to do this, but will most likely involve Arduino + Chataigne.
The other approach is to go all fancy, and borrow some tricks from the virtual production folks.
Stick something like a Vive tracker (
https://www.vive.com/us/accessory/tracker3/) on your scenery, and use a PC running tracking software to receive the position info. You'll need the base stations as well.
Touch Designer seems to support VR trackers (
https://docs.derivative.ca/OpenVR_CHOP), you'd have to do a little bit of patching to turn the received coordinates into something Resolume can use.
There are plenty of projects using Touch Designer to track moving objects, so this could be a good option for you. Might be a lot more precise than the homebrew / Arduino option.