Epic Developer Community Forums
how do I convert a float to a specific vector value
Development
Programming & Scripting
question
,
unreal-engine
Wittgames
(Witt games)
January 23, 2023, 8:51am
1
Screenshot_20230122_082327
713×290 41.8 KB
im trying to make a float just affect the Z value. ive looked for a while and cant find how to do this
lordlolek
(lordlolek)
January 23, 2023, 8:53am
2
Hi,
you can either
drag a pin from a vector and type “Make Vector”
Right click on a vector and select “Split Struct” in context menu
Syedhs
(Syed)
January 23, 2023, 8:57am
3
Something like this:
image
1054×333 55.3 KB
Everynone
(Everynone)
January 23, 2023, 11:03am
4
In case you want to
preserve
the XY as-is and affect Z
only
: