Page 1 of 1

Spawning an object with controller buttons set

PostPosted: Sat Sep 05, 2009 1:44 am
by Ian151
Can you spawn an object with controller buttons set? I have 2 boxes that will spawn, and I managed to also fixate them together on the spawn, but I need them to use the arrowkeys or WASD when they spawn, otherwise is there a way to do it in oncollide?

Re: Spawning an object with controller buttons set

PostPosted: Sat Sep 05, 2009 1:25 pm
by pixartist
Code: Select all
// Phunlet created by Algodoo v1.6.0

Scene.addBox {
    color = [0.64268374, 0.8225548, 0.9378946, 1.0];
    entityID = 1284;
    zDepth = 100.0;
    geomID = 4425738;
    pos = [16.5, 4.5];
    angle = 0.0;
    forceController = "keys w d s a";
    size = [1.0, 1.0]
}