object

kineme 3D Object Collider issue.

Snail Devicer's picture

Hello everybody. Firs of all excuse me for my bad english. I'm from spain. I'm working on a project for an interactive installation and I'm doing all the visual content in QC.

The concept is quite simple, I have a square perimeter full of particles and there has to be a moving cube inside that interacts with the particles.

By now I have done this using the kineme 3d collider but I get some strange behaviors from the particles. The particles tend to collide with the cube a lot far from it and I really don't understand why this happens.

Any ideas?

Thanks a lot in advance.

Polygon Edges on Objects

scalf's picture

This is a simple tutorial on how to turn an object into a traced, outlined, polygonal, or whatever you would like to call it - shape.

It uses the Kineme Gl Polygon Mode patch, and any stock object.

Enjoy!

http://www.vimeo.com/28331832

Return Structures from Javascript Patch

bonerton's picture

I'm trying to input a variable length structure of strings into a javascript patch, concatenate it's members into subdivisions of n, and output the new 'compressed' structure, but this javascript isn't returning anything:

function (__structure arrOut) main (__structure arrIn, __number n)
{
   var result = new Object();
   var out = [];
 
   if(!_testMode) {
      for(var i = 0; i < arrIn.length(); i += n) {
         out.push(arrIn.slice(i, i+n).join(" "));
      }
      return out;
   }
 
   result.arrOut = out;
   return result;
}

It's not throwing up any errors. I was getting an "expression arrIn [null] is not an Object" error, until i checked for testMode. Any help would be greatly appreciated. Thanks!

Mouse logic

boya's picture

Hey all, I need to pick up an in object and move it around the comp screen without the cursor being visible during a performance.

So I need to remeber the x,y for the object, and when the triggered the object should move by the mouse input. (not jump to the real positition)

This is probably simple, but I tried a cupple of sample/hold combinations, but no luck.

Chers!