How to get a character to an exact location?

I think it’s probably ok to have this huge box :slight_smile:

If the character has to be in a certain position before interaction, then each object needs an ‘indicator’ ( position and rotation ), it expects the character to adopt.

When the character tries to interact, the door can shift them into the correct orientation before the animation plays.

I will look a little ‘shonky’ when you shift the player, but at least the interaction will look good.

I answered this once before ( naturally can’t find that ). We put a scene component in the blueprint for the correct character orientation

and then shifted the player into place with a timeline ( from current transform to required transform ).

So, the original order of events was

  1. Approach door
  2. Send interact message ( disable player controls )
  3. Play animation and door opens
  4. Enable player controls

Now, the order of events is

  1. Approach door
  2. Send request to interact ( disable controls )
  3. Door asks player to correct position
  4. Door send message to player to play animation and opens itself
  5. Enable player
1 Like