Object goes through Object`s and Walls!

Thank You in advance and any help is greatly appreciate, Im having a problem with my object (ball) when I use ball:setLinearVelocity the ball will move when I touch it but it will just fly through any other object on its path or even a wall and go off screen. I have tried many things but none wont work Im new to corona sdk and programming itself only been working with corona about 3 weeks so any help would be great.

Things I tried

  1. setting the objects from static to kinematic
  2. isBullet = true or false (none worked)
  3. isAwake = true or false (none worked)

I have tried few other things but none seem to fix my problem can anyone please help me solve my problem
Thank you very much in advance.

There is 1 more thing I would appreciate if you help me with is related with this topic is when I do ball.setLinearVelocity and I do a touch event listener and a function with ball = event.target
when I touch the ball it will only move the direction I set the velocity to. What I really want is the ball to move only up down left right depending where the user grab and toss the ball with touch.

I have tried doing things like ball.setLinearVelocity( 200, 200) but what it does is move the ball in a corner direction instead of just up down left right

All help is welcome and Thank You in advance for your help and time. [import]uid: 30314 topic_id: 6175 reply_id: 306175[/import]

I came across very helpful forum topics that actually solve my issue, it seems one of the object has to be dynamic because kinematic wont collide with kinematic or static. So the way I fix my problem was by setting the gravity to 0 and making my ball dynamic if anyone having a similar problem try what I did maybe it helps you as it helped me. If anyone has a better method please share Thank You.

This 2 forum topics helped me so if you have a similar problem try checking them out.

1:
http://developer.anscamobile.com/forum/2010/10/25/collision-filters-helper-chart

2:
http://developer.anscamobile.com/forum/2010/08/03/kinematic-static-or-just-dynamic-object-other-physics-questions [import]uid: 30314 topic_id: 6175 reply_id: 21220[/import]