...
- (Unity Pro) Go to GameObject->Create Empty.
- (Unity Pro) Drag NewBehaviourScript to GameObject in the Hierarchy
- (Unity Pro) Copy sbm-common folder to get Smartbody assets. Copy <VHToolkit>\data\sbm-common to <your project>\Assets\sbm-common
- <todo> Add simple lighting
- Now we are ready to test
- In Unity, hit Play button
- (Unity Free) Launch Smartbody as a separate process. Run <VHToolkit>\tools\launch-scripts\run-toolkit-sbm.bat
- Brad should appear and animating with his idle animation.
- Try and play an animation
- Open the Unity debug console by hitting tilde (~)
- Type the following command: vhmsg sbm bml char brad anim HandsAtSide_Arms_Chop
Message API
Receives:
Sends:
Using the Console
Hit the ~ key to bring up the console. Here you can see some debug information. Type 'help' for all available commands.
...
- q - quit
- play_intro - Play intro sequence
- vhmsg ... - Send vhmsg out to system. 'vhmsg sbm ...' for sending a smartbody command
- setresolution x y - Set resolution to 'x' x 'y'. Example 'setresolution 1024 768'
- toggle_fullscreen - toggle windowed / fullscreen
Message API
Receives:
Sends:
Known Issues
FAQ
See Main FAQ for frequently asked questions regarding the installer. Please use the Google Groups emailing list for unlisted questions.