Actor begin overlap

Hi, all
It was supposed to be simple, but no))
I created several meshes:

and BP for it

After all, I ran into a few problems

  • begin overlap - Mesh opens but Y distance doesn’t correct;
  • end overlap - after my actor end overlap, Mesh doesn’t respond and stays in the same place;
  • if my actor doing fast begin/end overlap, after several interactions, Mesh stops responding at all
2 Likes

door

2 Likes

Your solution is beautiful. thx

Help me with another question, pls. For example, I have many doors, and writing codes for each seems slightly crazy. How can I do it?
Functions and macros don’t seem right.

1 Like

If they are all the same type of door, just with different meshes, then you can just make the door and frame mesh visible as an exposed variable, and change it when you drop it in the level.

Is that what you mean?

It’s a skyscraper with the same type of doors, just different meshes and of course vector coordinates.
As I understand, you are saying to create a variable with type an actor…no, I don’t understand.
I’m still learning, sorry for the dumb questions.

Once you’ve made the door, it will work, no matter how many times you copy it in the level.

To make the meshes interchangeable, do this:

Here’s my door currently

door1

But, I have a variable in the blueprint, a static mesh reference. If it’s set, I change which door I’m using in the construction script

In the level, right now, I haven’t set it, which means I get my default door

But it I set it

I get a new door

door2

There can be complications, though. For instance, if the pivot point of the different door meshes is not in the same place. But that’s for another day :slight_smile:

1 Like

You are the hero) Thx for your time and explanations.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.