Vector Messaging

1 view
Skip to first unread message

Elliot Conte

unread,
Jul 8, 2011, 5:25:53 PM7/8/11
to behram farrokh thomas mistree, emerso...@googlegroups.com
Try executing this code in your own scripting window.  msg.b is always scrambled.  This is what was causing problems in Will's collision code.  

var x = <1,2,3>;
var y = <4,5,6>;
var z = <7,8,9>;
var msg = {};
msg.a = x;
msg.b = y;
msg.c = z;
var received;
function(msg,sender) {system.prettyprint(msg); received = msg;} << {'a'::};
msg>>system.self>>[];

Ewen Cheslack-Postava

unread,
Jul 8, 2011, 8:38:51 PM7/8/11
to emerso...@googlegroups.com
Turns out this was a bug in the deserializer. Fixed in
https://github.com/sirikata/sirikata/commit/3d58c5ac3a9699aecd73b326c4dcd5f93545fddc,
which will be included in the next build.

-Ewen

Reply all
Reply to author
Forward
0 new messages