I’ve got a game where the player spawns using add object with the edit object actuator (so the player’s model is in another layer) and I have some enemies that are tracking to the player but they are seeking (using path finding/seek using a steering actuator) out where the player is in the other layer, not the player that spawned in layer 1. How canI get them to follow the player that’s spawning? I can upload the .blend if needed.
From the quick testing I did, it doesn’t seem that you can have a steering actuator track to an object that doesn’t originally exist in the active layer (the player object you select from the list is the object in the non-active layer).
However, you can use a simple python script to change the target of the actuator to the newly added player object when the game is already running. Just set the steering actuator target to the object you want to track.
Please have a look at TrackTo and added Objects it details why this happens and how to deal with it.
While the thread belongs to TrackTo this is valid to any Logic Brick that references Game Objects.
Do you have another link for this? I know its been 8 years but I’m having the same issue, thank you