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
- setting the objects from static to kinematic
- isBullet = true or false (none worked)
- 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]