How to integrate C++ code with basic VR project?

Hi,

We’re trying to use Unreal Engine along with Nvidia Flex in order to simulate some object collisions and also give users the chance to operate a virtual robot arm in VR. This is our first time using Unreal Engine, and one thing we’re very confused about is how to integrate C++ code with the basic VR project. All the tutorials I’ve seen for things like making objects grippable and loading objects and handling VR interactions seem to go through blueprints or the editor. I’d really like to be able to write some C++ code for these interactions, and integrate some of the Flex API myself if possible. Any suggestions / pointers to tutorials would very much be appreciated. Thank you!