Changing Socket Location in Paper2D
Hello, I have been trying to figure out how to change the "Location" of a component to the location of a socket in a sprite. This is what I currently have in the blueprint. I can't seem to be able to find any note that allows to get a socket from a sprite. So how do I get the position of a specific socket in a sprite? Next step would be to update the Location of the "Scene" component that I have in the blueprint to the current socket location. But I hope I will be able to figure that out myself. (hope) Any ideas on this matter and or learning resources for this sort of blueprint stuff would be highly appreciated. Thanks in advance!
You get the root component first, then you get the child component that you set that up via index number. I.E. I need location of child component #2 so I use the number 2 in the child index of get child component. Here is an image with all the nodes. You can check if you are using the correct child component with an actor to string and then print. You get Actor To String by pulling it out of the Return Value.
You can also pull a Get Socket Location from the Root Component node if that is what you need.
Follow this question
Once you sign in you will be able to subscribe for any updates here