I have a moving object:
transition.to( enemy, { time=3000, x=obj.x-50,y=obj.y-50})
I have a bomb/bullet
local bomb=display.newImageRect("bomb\_boost.png",20,20) bomb.x=obj.x bomb.y=obj.y
They both have physic bodies
physics.addBody(enemy,"kinematic",{radius=75,density=0,friction=0,bounce=0.5}) physics.addBody(bomb,"dynamic",{density=1,friction=0,bounce=0,isBullet=true})
To make this simple, the bomb is moved by a transition.
transition.to(bomb,{time=1000,x=enemy.x,y=enemy.y})
When the enemy is still(not moving), the bullet reacts properly(enemy bounces back).
However when the enemy is moving and the bullet is moving, they do not react.
Anyway to make them react when both ibjects are moving.
Thanks bros.

