diff --git a/index.temp b/index.temp index a9e7fc8..257a127 100644 --- a/index.temp +++ b/index.temp @@ -37,17 +37,17 @@

Use the Buttons To Control The Blender Object

- +
- - + +
- +
- +
diff --git a/res/controller.js b/res/controller.js index dd2ecdc..a96fd25 100644 --- a/res/controller.js +++ b/res/controller.js @@ -28,7 +28,11 @@ $(document).ready(function(){ } $("button").click( function () { if( $(this).attr("id") == "Status") { s.close(1000, "Try to Close"); } - else { s.send($(this).attr("id")); } + else { + var data = {"Actuator":$(this).attr("id"), }; + console.log(data); + s.send(JSON.stringify(data)); + } }); $("#DebugTitle").click( function() { $(".debug").toggle(); diff --git a/test.blend b/test.blend index f21cf9c..eda64b0 100644 Binary files a/test.blend and b/test.blend differ