Hello, I’m totally new at the world of corona, I hope I can explain myself
I have my character, he moves around with function player:setLinearVelocity(p_velX, p_velY)
I have a map where I can move this way, in map I have static objects that collide with my character, and it works ok.
The problem is that, when I create 1 more object, I want this object be dynamic but, when my character collide with this kind of objects, it applys x force and this dynamic objects get pushed.
What I want is that my character do not apply force to this other dynamic objects, because I want they be enemys that can enter in ‘mele combat’
One solution is to to make the new object (that collides with your character) as a “kinematic” body type. This body type is not affected by physical forces, including gravity, but it will continue to sense collisions with your character.
If these other object must be dynamic (for example, they should collide with “static” objects), then you can make them “sensor” objects.
One solution is to to make the new object (that collides with your character) as a “kinematic” body type. This body type is not affected by physical forces, including gravity, but it will continue to sense collisions with your character.
If these other object must be dynamic (for example, they should collide with “static” objects), then you can make them “sensor” objects.