• Global community
• Language:
• Deutsch
• English
• EspaÃ±ol
• FranÃ§ais
• PortuguÃªs
• æ—¥æœ¬èªžã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£
Dedicated community for Japanese speakers
• í•œêµ­ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Exit
• How to expose Scale within the Transformation 2D n...

# How to expose Scale within the Transformation 2D node

Community Beginner ,
May 24, 2023 May 24, 2023

Copied

Trying to expose the Scale with in the Transformation 2D Node, any help? ðŸ™‚

Thank you

Pina

TOPICS
How to

Views

619

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Community Expert , May 24, 2023 May 24, 2023

Hi

You need to create a function to drive the scale matrix. To do that :

Add an input to your graph. I've called mine Scale Percentage and given it the identifier scale_percentage.

In your transform 2D node at the top right of the transform matrix controls click and choose 'Empty Function'

Add the following function nodes to the function :

In the Get Float node properties choose the scale_percentage input that you just created.

Right click the Scale Matrix node and click on 'Set as Outpu

...

5 Replies 5
Community Expert ,
May 24, 2023 May 24, 2023

Copied

Hi

You need to create a function to drive the scale matrix. To do that :

Add an input to your graph. I've called mine Scale Percentage and given it the identifier scale_percentage.

In your transform 2D node at the top right of the transform matrix controls click and choose 'Empty Function'

Add the following function nodes to the function :

In the Get Float node properties choose the scale_percentage input that you just created.

Right click the Scale Matrix node and click on 'Set as Output Node', it will turn yellow as in the screenshot above.

That is it. The exposed input you made will now control the scale.

Note : I have used just one control - if you want X and Y to be separate just add a second input and use two 'Get Float' nodes in the function graph.

Dave

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
May 24, 2023 May 24, 2023

Copied

Thank you @davescm for the reply. when i do that 2 things happens..  my Transform node changes to this angle look and also the get float node connection is in red. i both tried set the scale matrix as out put and get float but didint change anything.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
May 24, 2023 May 24, 2023

Copied

also for some reason it asks me to choose float 4.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Expert ,
May 24, 2023 May 24, 2023

Copied

In the first step I described , set the input as a Float (not Float2, Float3 or Float4). Remember at that stage you are merely adding a graph input it is not yet associated with the Transform Node. That comes later when you add the function.

In the function itself use Get Float (again not Get Float 2 , Get Float 3 or Get Float 4).

I've attached the sbs from above so you can see the exposed input and the function that uses it.

Dave

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
May 25, 2023 May 25, 2023

Copied

LATEST

Thank you! @davescm