Krion Posted April 30, 2019 Share Posted April 30, 2019 Hi! I am trying to recreate some VEX code in VOPs, just for understanding. But how do I output to, for example, @P.y in VOPs? Thanks. Quote Link to comment Share on other sites More sharing options...
celd Posted April 30, 2019 Share Posted April 30, 2019 You could use Set Vector Component VOP to pick a specific component of a vector and set its "fval" to be the output of your ramp. The geometry vop outputs however expect P to be a vector and you will need to give it a vector. I dont think you can export just a specific component directly. 1 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted April 30, 2019 Share Posted April 30, 2019 (edited) what about something like this? Use get vector component and use component 2 which is Y. You can make as many changes to Y as you want then merge it back. Any changes here would only affect the Y position. Edited April 30, 2019 by ejr32123 1 Quote Link to comment Share on other sites More sharing options...
probiner Posted May 9, 2019 Share Posted May 9, 2019 (edited) You could do a little asset Just connect P to Ramp and to the Y component. Only thing I don't see how to do is to have this setup support signatures for other data types, like vector2, matrix, etc. PRB_ReplaceComponent.hip Edited May 9, 2019 by probiner 1 Quote Link to comment Share on other sites More sharing options...
Krion Posted May 24, 2019 Author Share Posted May 24, 2019 Nice! Thanks u both. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.