Let’s say I have a blueprint that contains a static mesh and a point light.
How can I change the position of the light for a single instance of that blueprint? (Like the old prefabs).
Thanks!
Let’s say I have a blueprint that contains a static mesh and a point light.
How can I change the position of the light for a single instance of that blueprint? (Like the old prefabs).
Thanks!
You need to utilize the Construction Script for stuff like this. It calculates prior to runtime. Toss in a variable, and you’re golden.
I did it for proof-of-concept. Here are my steps:
Now you can bring in as many of these lights as you like. When you select one, you’ll see a little diamond-shaped (and labeled! how awesome is that!!?!) widget you can move around to reposition the light. This can be unique for each instance.
(I did 2 because the lamp post I found had 2 lights on it!)
Sorry I didn’t see your answer earlier. Sounds good, thanks!