Video Tutorial - How to stream real time data to MotionBuilder
Walkthrough - How to forward realtime data to MotionBuilder
Step 1. Enable Forward data from advanced settings. The Forward IP is the computer IP that will receive the forwarded data, the one running the motion builder in this example. If the motion builder runs in the same computer, the IP should be 127.0.0.1. The forward port should be different than the Listen port setup in Studio. If it was the same, then Studio would listen to the messages it is forwarding creating noise and bad behaviors. For this reason, forward will not work if Listen port and forward port in studio are the same.
Step 2. Play an animation or have a live suit online. For this example, we are playing the NervousSoldier animation located in SmartsuitDemo project.
Step 3. Open motion builder and create a Smartsuit device.
Step 4. In the device settings, change the Command port to 5001 (any number different than a port in use and different than 5000). Motion builder will not be able to send commands to the Smartsuit, since the Studio will control the Smartsuit. If you leave the port in 5000 that will create issues when Studio tries to send and receive commands from the Smartsuit.
Step 5. Change the Streaming port to be equal to the forward port you set in Smartsuit Studio, in this case, 14040.
Step 6. Make sure the Suit ID is set to any, or if you know the id of the suit, then is set to that ID. (any will accept the first suit it will occur which works if you have one suit). Finally, the Network settings should look like below:
Step 7. Finally, create a new Model binding and Characterize the model (the characterize may take effect when you click the Online button to turn on the device online). Now you should have a skeleton in your Scene standing in T-pose.
Step 8. Finally set the device online and you should see the skeleton begin animated with the data forwarded from the Smartsuit studio.