beginContact(a, b, coll)
Posted: Mon Dec 09, 2013 3:41 am
Hi
I have problems with contacts in physics
I have an
object ={}
object.ball={}
object.ground={}
and i am trying to make love.graphics.print (touch,10,10)
beginContact(a, b, coll) <--- what do i need to put here?
in order for the touch to appears the ball its at 100,100 x,y
and the ground its 0, 400
Now i know it's a function but what do i put there i tried the wiki but it didn't work for me? the ball bounce perfect etc..
but once it touches nothing appears i know i am missing something but what it is??????
I have problems with contacts in physics
I have an
object ={}
object.ball={}
object.ground={}
and i am trying to make love.graphics.print (touch,10,10)
beginContact(a, b, coll) <--- what do i need to put here?
in order for the touch to appears the ball its at 100,100 x,y
and the ground its 0, 400
Now i know it's a function but what do i put there i tried the wiki but it didn't work for me? the ball bounce perfect etc..
but once it touches nothing appears i know i am missing something but what it is??????