Skip to main content

Search

Can You Add Tracking To Emitted Objects?

  • CLOUD1985

    Try put a tag on the enemy named "enemy" and a follower on the object that is to be emitted that is set to follow the "enemy" tag. You could also add a look at rotator to the emitted object set to look at the "enemy" tag so that it turns to face the enemy.

  • bogey_99

    is there any way to adjust the tracking so that the projectile still tracks but can be dodged for example?

  • CLOUD1985

    I'm not entirely sure what you want to do exactly but it sounds like maybe you want the projectile to track the enemy until it gets close and can be dodged without fear that it will continue trying to track the enemy after it has been dodged.

    So you could try add a trigger zone to the projectile that detects the enemy tag. Make the zone whatever shape that best suits your situation and whatever size you wish remembering that when the zone sees the enemy tag the projectile will stop tracking the enemy and can be dodged.

    Wire the trigger output into a counter that counts to 1 and wire the counter into a not gate. The output of the not gate is wired into the power on the follower and the look at rotator.

    This means the tracking logic is only powered while the projectile is a certain distance away from the enemy.

Please sign in to leave a comment.