Scale: Difference between revisions

From Fancade Wiki
m (Add Related articles)
(Mention how its analogous to some other blocks)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:


Multiplies each [[vector]] component by the input [[number]].
Multiplies each [[vector]] component by the input [[number]].
Can function as [[multiply]], [[divide]] or [[negate]] for vectors if the input number is <code>X</code>, one divided by <code>X</code> or -1 respectively, where <code>X</code> is the number you want to multiply/divide by.


{{Image|Scale_example.jpg|Example}}
{{Image|Scale_example.jpg|Example}}

Latest revision as of 14:32, 30 November 2025

Scale
Scale.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Vec
Outputs Num
Vec * Num

Multiplies each vector component by the input number.

Can function as multiply, divide or negate for vectors if the input number is X, one divided by X or -1 respectively, where X is the number you want to multiply/divide by.


Example

Related