As a new user of Unreal Engine, i’ve been trying to make a blueprint that allows me to swap different meshes in the same location by just hitting key like 1, 2, 3 etc, per mesh at running time
I can’t find how to make it, maybe with array, or list but I’m too bad for making BP by myself.
Iwas wondering if someone could just send here a screenshot of a blueprint that could do what I explained earlier
It’s for an architectural project and i would like to swap mesh of different buildings to chose which is the best because I have already imported all elements of context
That’s the point. I have like 6 different meshes of building and I would like to be able to chose one to spawn by hitting a key, for exemple ‘’ 1 ‘’, then swapp for an other building with ‘’ 2 ‘’ etc I guess you know what I mean.
I got that bit! But you also said buildings previously - is there:
one building with several meshes
or
several building with several meshes.
If there are several, how would you like to choose which building’s meshes we are swapping around.
You also say spawn as if there was no building to start with. Are we swapping meshes of an existing building or spawning a new building and then swap its meshes.
I previously try to create a BP with an actor class. I created an array including the meshes. Then I’ll place the Actor at the right location, but It could be nice to spawn one building as first then have the choice to replace it by other one.
Regarding calling that custom event - we’re now back to my original question:
how many buildings with swappable meshes are there?
how do you select a building if there’s more than one?
The above was done in the level blueprint but depending on what is really needed it may not be a good idea to script things there, hence me grilling you
To clarify: the custom event script goes into the building actor. The input goes into the level blueprint.
Also, avoid plopping down nodes without context:
If you need a target, for something, use the context sensitive nature of blueprint. Drag the wire first and then search - you will eliminate 1 million options that you do not need / make no sense.