Path-ing directional problem (flip)

Hi,

I have a physic object of a monster, that has a couple paths to take based on whether the player is in its field of vision or not. My current problem is that I am trying to flip the sprite physic object on its xScale (walking left and back to the right). It seems that it will not slip correctly every time the toggle flips it to opposite direction.

What should I do? My current work around is not include the monster in the physics engine and move them by placeholder physic objects. I would really like to just use the sprite as physic objects.

Hi @duo.imagination,

Generally speaking, scaling does not “play nice” with physics. However, depending on the shape of your monster (its body), you can probably accomplish what you need with physics. Can you show some images and the shape of your physics body so far?

Thanks,

Brent

Hi @duo.imagination,

Generally speaking, scaling does not “play nice” with physics. However, depending on the shape of your monster (its body), you can probably accomplish what you need with physics. Can you show some images and the shape of your physics body so far?

Thanks,

Brent