Constraining attribute to flip with actor

Hi,

I am currently have an enemy actor that shoot fireballs when he get close to my hero. The fireballs are spawning form a actor that is constrained to my enemy's head. However, I am using a self.Graphics.Flip Horizontally attribute, so when my enemy changes directions my constrained actor is now behind my enemy. How do I make it so that my constrained actor will flip with the enemy.

thanks

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Make rule that houses the two different constrain sets.

    Rule

    When flip is true

    Constrain to position

    Otherwise

    Constrain to position

  • quinn221quinn221 Member Posts: 280

    Thanks!!! I was so close!

Sign In or Register to comment.