I'm trying to create instance where the player is knocked around, climbs while facing one direction, etc. and moving the player via the Character: Move to Point or Character: Move Along Path always requires the player to walk, and makes the player change the direction he faces when the movement changes direction.
Also, creating a custom path for each time the player is to be moved can get very tedious and messy.
I attempted to give the player prefab the movable script, and use the Object: Transform action to move the player as desired, which overall gives it the effect I'm looking for. However, when using the prefab as the movable object, the action does not work. It seems to be required to be a gameobject which is currently in the scene in order to be moved by this action.
When actually putting the player prefab into the scene and giving it the movable script, this action does work because the player prefab has become the actual player in the game mode. However, when changing scenes this relationship doesn't hold. The player character is added to each scene, and therefore is not referred to by the Object: Transform action, because the stationary player prefab is.
Has anyone found a way to have the player usable as the movable object in the Object: Transform action? I've tried modifying the script but I know way too little about scripting in Unity to be particularly effective there. Any ideas?
Comments