Difference between revisions of "Scripting UDKOSC Gestures"
From CCRMA Wiki
m |
m |
||
Line 1: | Line 1: | ||
PLAYING A RECORDED SCRIPT: | PLAYING A RECORDED SCRIPT: | ||
+ | |||
+ | Use the OSCControl.rb to play a control script: | ||
+ | |||
+ | ./osccontrol.rb localhost 6666 ./study/01_pawn_runjump.oc | ||
+ | |||
+ | |||
+ | |||
+ | PLAYING RECORDED OSC OUTPUT: | ||
Use the OSCPlayer.rb ruby script to play recorded .yml data files: | Use the OSCPlayer.rb ruby script to play recorded .yml data files: |
Revision as of 14:41, 5 November 2013
PLAYING A RECORDED SCRIPT:
Use the OSCControl.rb to play a control script: ./osccontrol.rb localhost 6666 ./study/01_pawn_runjump.oc
PLAYING RECORDED OSC OUTPUT:
Use the OSCPlayer.rb ruby script to play recorded .yml data files: $ruby ./oscplayer.rb [target-ip] [target-port] < [filename.yml]
In UDKOSC command prompt:
oscstartinput oscmove
OscSetFollowLockCamera: Camera moves absolute X,Y,Z from OSC but targets pawn OscSetFollowCamera: Camera moves X,Y,Z relative to pawn from OSC but targets pawn
In Ruby:
C:\Users\Rob\data\github\udkosc\Scripts>ruby osccontrol.rb localhost 7001 ./data/pawn_circle.oc
pawn_circle.oc pawn_runjump.oc camera_setup.oc
Original example code:
http://pastie.org/4212194