How to add orientation constraints for bones

I assume ure wanting to do a live mocap session that is streaming into unreal? If so may i ask which software ure using to bring the captured data into unreal? There are a few solutions to ure problem, but it’s depending on the software your using.