You can't simply "set" it... You have to code what happens when a collision occurs...
For example:
if (dbObjectCollision (1, 2))
{dbYRotateObject (1, 180);}
The code above, when Object 1 collides with 2, turns object 1 the opposite way and assuming the object is traveling along the X axis and you have two instances of object 2 on either side, the object will travel and bounce back between the two... The code above is following the ball bouncing back and forth model... But the point is you have to code your own event handler...
~~Core2uu~~