I was originally doing something like that but what I found was, since i was using variables for my 'Xforce' and 'Yforce', it messed up the bounces pretty hardcore. The object was trying to push through obstacles rather than bounce off them since the X/Y components were 'set in stone' so to speak and it was hard to alter the variables upon collision to make the ball bounce off at the right angle.

If you don't think it's appropriate to add them, that's fine, I guess I am using the ball behaviour a little differently than it should be used.

I'm using the platform behavior to make balls fall in a specified direction depending on which way gravity pulls them. To disable jumping, you just set the jump strength to zero. I'm sure that's not how the behavior was intended to be used.

You combine the behaviors and disable the gravity of the ball behavior. You have to adjust the settings a lot to get it to act the way you want it to, but I'm positive it works, because I did it myself.

Here's a link to the cap I was using the behaviors in: CLICK HERE!It has a few bugs and needs a lot of work, but it works.

Sorry to ressurect this slightly older thread, I've been unable to use my internet for a long time. Thanks for the suggestion fantasyjam but i think what i want is slightly different.What i want to do is similar to the movement that i made in my super speed example in the 'your creations' forum.I want to update the X and Y components of movement every tick to give a controlled 'space' type movement. I can get the movement moving exactly how i want it to move, except i can't for the life of me code in the right collision code.

The movement works prefectly, until you collide with something, the ball/player just tries to keep going through the obstacle rather than bounce off because it's X and Y components of motion are fixed into variables rather than being updated upon a collision, meaning, so is the angle of motion.

If i could alter the ball movements X and Y components directly, just like i can in platform or physics, i would still be able to get the spacey type motion but bounces would work perfectly fine too because the ball behaviour works out which angle to bounce at and changes the X/Y components accordingly. It would also open up more avenues for advanced ball movement controls, like what you're doing, you could easily make multiple gravity wells.I hope i made myself clear enough :S

Maybe you're better off writing a custom ball movement? As you mentioned, if you're always overriding the velocity, when it bounces it's still trying to go in the old direction, and you need to update the variables.

Adding set x/y component won't magically fix this, because the action will just call set angle of motion and set speed for you, with the math. So it'll work exactly like it does with your current method.