Hi there,
I'm trying to streamline my logic, and I have an enemy floating alien (rigid body, physics) that uses the Look At (game object - player spaceship) action, with Add Force so it moves towards to player spaceship.
I've turned the enemy alien thing into a prefab and I'm using a pool to spawn them at certain trigger points, however, when the pooled clone is spawned, the Look At action no longer has the game object - player spaceship parameter.
I've looked into it, and am I right in understanding that a prefab can not 'see' a gameobject, prior to spawning? Like, you can't reference a game object from the scene in an action on a prefab?
I've tried using game object variables too, but nothing seems to work.
Does this make sense?
Many thanks,
J.