How do i make it where when an object hits a wall the object bounces off in a random direction? i tried doing it but the wall moved too and i dont want that.
P.S to hydralisk15: small tip: it would help Forum members and yourself (you might get more answers) if you made your thread title a little more descriptive than "Help!". I've changed it to something more descriptive for you.
0 to 1 to 2 0 means that it won't bounce at all. 1 means that it will bounce back to the original place in which it started 2 means that it will bounce twice as far as where it started (be careful with this as it bounces twice as high EVERY TIME it bounces).
Turn the restitution on the ball to whatever you want; 0, .3, .7, 1, 1.4, etc.
Then, the ball will bounce as you want it to. (you may want to set friction to 0 on the ball too).
thanks that did help but its like its rotating and its twitching like really fast but its still stuck to the wall. restitution is set to 2 on each and friction is also on 0 for each and density is 5 for the ball. i have like the walls around it and i want the ball(s) to bounce around inside but its like stuck against whatever wall it decides to move to. (i have the movement set to random)
Yeah go to the attributes on the scene and fix that to like 400-500 ish anywhere between those values will be fine i usually go with 400. And that is on the Y so try y=400 Make sure you do this on the scene as a whole.
Comments
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
P.S to hydralisk15: small tip: it would help Forum members and yourself (you might get more answers) if you made your thread title a little more descriptive than "Help!". I've changed it to something more descriptive for you.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Restitution works like this;
0 to 1 to 2
0 means that it won't bounce at all.
1 means that it will bounce back to the original place in which it started
2 means that it will bounce twice as far as where it started (be careful with this as it bounces twice as high EVERY TIME it bounces).
Turn the restitution on the ball to whatever you want; 0, .3, .7, 1, 1.4, etc.
Then, the ball will bounce as you want it to. (you may want to set friction to 0 on the ball too).
Good luck