need help creating an actor to be chased through obstacles by another actor
Hey guys,
I'm in the process of creating a game where a bird will chase its prey, but I'm having a bit of trouble adding the 2nd actor (the prey) into the game. I was wondering if maybe someone would be able to assist me.
I want to add a prey actor that the bird will chase through the obstacles ahead of the bird actor. However, the prey should have a floating movement through the obstacles like that of the title in the menu screen, and should not be able to collide into any obstacles. Every attempt I have made to create this actor has been unsuccessful. I can't seem to get the floating motion right, and either the prey actor is invisible or it collides with the obstacles or the bird actor crashes into the obstacle without touching anything.
Would anyone be familiar with how could I make this CPU prey actor to float through the obstacles without ever colliding into anything and ending the game? This element is crucial for my game and I could really use any and all advice you could share.
Thank you very much for your time!