Difference between revisions of "Scripting UDKOSC Gestures"
From CCRMA Wiki
m |
m |
||
Line 1: | Line 1: | ||
+ | PLAYING A RECORDED SCRIPT: | ||
+ | |||
+ | 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: | In UDKOSC command prompt: | ||
Revision as of 14:35, 5 November 2013
PLAYING A RECORDED SCRIPT:
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