The animation will be a program in Unity, this allows us to simulate different interactions as impacts depending on the speed and position, etc. The program will send a byte or two by the RS-232 serial interface even device like a microcontroller or arduino, this number of bytes is to guarantee that the information arrives properly and subsequently a pulse or a state of 12 volts is generated, also The purpose of these bytes is to be immune to the noise that the cable may produce or electrical or thermal noise. The output of 12 volts can be generated by means of a transistor of low, medium or high power depending on the load, or a transistor mosfet can be used, you could even isolate the system optically to generate 12 volts for the dependence on the load and that does not damage any device.