Hello,
I made 3 enemies that has same behaviors but different health.
But when I test the game, only one of “enemy3” move in the scene(20 pixels to left).
I installed Flash, Health, Physics2 for these 3 and other enemies.
I absolutely can’t understand why this is happening.
The linear movement extension moves the object by adding forces to it, this doesn’t work because the physics extension implements its own movement mechanics, thus adding forces to a physics object has no effect. You need to use the events associated with the physics extension to produce movement. Something like this:
1 Like
Ohhh…
Yes, I found linear velocity action. It works very well.
Thank you.