Door Probleme What should i do.

Hello, I would like to have your opinion.
I am a beginner with very little experience.
I was able to set up this blueprint using several YouTube tutorials.
Im close to what im looking for but i got some issue.

1- The door must open opposite direction of my player.

2- The door closes itself when I leave the hitbox

3- I must be able to close the door myself if necessary

BP_hero


BP_Door1

In this first one The timeline work well But the door have an issu with is oppening

BP_door2


In this second one The door work well exept for the timeline.

Here you can simply call an interface:

Check this out when you get the chance: Blueprint Communication | Course


For the door:

  • Using world rotation as a condition will not work once you rotate the actor. It should work in relative space.
  • IMO the lerp should have fixed values so it doesn’t jump mid playback.
  • You have the right idea for getting where the player is, but IMO that condition should have not affect while the timeline is playing.
  • It might make it easier to define clear states of what is happening to better know when to modify values.

Try this on the door bp:


Components:


Hope it helps.

1 Like