Want to bounce the actor
Dooki
Member Posts: 247
Hey there,
Q: How to I make my actor bounce of the walls? Like a ping-pong ball that reduces the bounce over time?
I've been searching the forums on how to bounce and have found how to reduce the bounce. I have collide with "walls" on and I have "Restitution" set to 2.
Thanks!
-Dooki
Q: How to I make my actor bounce of the walls? Like a ping-pong ball that reduces the bounce over time?
I've been searching the forums on how to bounce and have found how to reduce the bounce. I have collide with "walls" on and I have "Restitution" set to 2.
Thanks!
-Dooki
Comments
http://gamesalad.com/game/play/28209
Good luck
JCFord
Looked at the game and yes this is the kind of bounce I am looking for. The game however is not a template that I can take a look at, and learn.
Currently the actor (a ball) is shot from a sidewall cannon. Where the cannon points the balls goes straight until it collides with a wall. Once there is just jitters and shakes like a jumping bean at the collision point.
- BTW I do not have a power ramp associated with the fire command. It's just set to press space bar and it fires. Not sure if this has an effect on bouncing.
- Also, I have collide assigned to the ball and walls in my scene. Is this correct??
Thanks!
-Dooki
-the ball that is shot has collision to tag items.
- I shoot the ball and it just sticks to the wall upon collision.
- If I rotate the cannon to create a bounce shot, the ball again just sticks to the initial wall collision point and does not bounce off the wall.
- Do I need to adjust gravity? Restitution?
Advice??
-Dooki
Check to see if the wall also has restitution.
Friction is normal, right?
Try it with gravity on, and see if you get the same problem.
Crank up the restitution...
erm, don't know what else it could be. Any rules going on? Maybe screenshots showing the physical properties of the two actors?
Thanks Kamazar. Yup, turns out I needed to fuss with restitution.
OK, I don't see a attachment link so I can't send a screen crab. Here are my settings for the ball:
- Density= 50
- Friction= 30
- Restitution= .7
- Gravity= 120
- I also have a "change velocity" with speed set to 500.
I am now playing with the density/friction in order to effect the dampening of the bounce. Currently the bounces seem too constant. Am I on the right track for this? Thanks.
-Dooki
Thanks!
-Dooki