ball behavior problems.
53.1
Member Posts: 2
hello
i am having some ball behavior problems. the ball does not act like a ball. it slides across the walls and then just stays there. i want it to bounce around walls just like a ball. not stay in one place. can anyone help me or tell what i am doing wrong
these are my rules for the ball...
density 0
friction 0
bounciness 0.3
bounce when colliding with walls
RULE
when actor collides with walls
change velocity ( direction --random 0,360)
speed-- 400
move
direction random 180.360
speed 300
thanks
Comments
How does the ball start and what are you trying to do with it? Are you trying to make a brick-braker like game?
yep a brick braker
I would recommend using the built in physics engine and not building your own bouncing with the Move Behaviors.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page