How to access decals components
Hello guys, im trying to access decals that im creating with a actor BP, i want to be able to move them x Units. For some reason they are getting stacked up. Any tips to solve this issue?
This is the blueprint:
i also made a small mp4 so you can see the problem inside the editor https://gyazo.com/715635241af82e849522571ddf621f05
Thanks for the time, Cheers
asked Jul 10 '18 at 07:48 PM in Blueprint Scripting
I think you ARE accessing them and you ARE moving them in the blueprint you've posted.
However, you are creating them at exactly the same spot and you are moving them all exactly the same distance so they all, again, end up at the same spot 10 units away from the parent actor's transform.
Now I'm not quite sure what you are trying to achieve here but if you take the
BUT... You are doing quite a lot of unnecessary work making this more complex than it should be.
You don't really need anything after the
You can create a transform and manipulate it (move, scale and rotate it) or outright build it in place before you add the decal which will be much simpler and avoid 2 loops.
If you would need these decals later in your game, you can store them in a specific array after you create them instead of taking all components and looking for a tag.
I hope this is clear enough. Happy coding :)
answered Jul 10 '18 at 10:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here