Scale: Difference between revisions

From Fancade Wiki
(Added more info.)
Tags: Mobile edit Mobile web edit
(Mention how its analogous to some other blocks)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
Line 8: Line 8:
}}
}}


Multiplies each [[vector]] component by the input [[number]]. It can be used to invert a vector similar to the [[Negate]] and [[Inverse]] blocks!
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.





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