shak
(shak)
March 19, 2025, 4:26pm
1
Hi,
I’m making a component. When space is pressed it moves the thing it is attached to to position 0,0,0 using a Set world transform node. Simple!
It errors and says I need to add a target(self) for it.
For a regular actor blueprint I would just drag a static mesh reference into the blueprint to this node.
But this is a component and has no self until it is attached!
What do I do?! What do I connect to the Target(self) node on a component or how do I make this work?
dZh0
(dZh0)
March 19, 2025, 10:35pm
3
The Blueprint Actor Component is not a Scene Component which is what Set World Transform requires as a target. (the text below the node title)
If you want to move the Actor the component is attached to you might use Set Actor Location like this:
Read carefully what the node needs as target just below the node title. Target: self works in the Get Owner node because the target is an Actor Component - exactly what the containing blueprint is.
1 Like
shak
(shak)
March 20, 2025, 8:41am
4
Get Owner node! Thank you.