Breaking PCG vector parameter (or attribute)

Hi there! In PCG, I need to random rotate the mesh of 90, 180 or 270, so I’ve prepared a float array with those values. My problem is that the rotation is a vector and I want only to rotate on the z axis.
I’ve prepared this construction script:

But the node “Get actor property” won’t accept it, it seems to accept just floats.
How can i break the vector for just feed Z axis? Any suggestion?

Thank you!

#PCG

1 Like

Hi there @AFedeleallalinea11,

Hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile:

Hi! Thank you for the advice, actually I’m always not sure where to post my requests, now I know it! Thanks again

1 Like

Hi! I’ve happened to bump into the same question you have, have you solved this yet?

1 Like