SetTextTagVelocity
- Parameters
-
t texttag
The text tag to modify.
xvel real
velocity in x direction.
yvel real
velocity in y direction.
- comment
-
Sets the velocity of a text tag.
- note
-
Adds a rendered offset changing over the lifetime of the text tag. The offset is linearly related to age of the text tag, i.e., doubled age means doubled offset.
- note
-
Separately, doubled velocity means doubled offset too.
- note
-
Those velocities do not refer to absolute world units. Rather, when changing the camera distance, the added offset will be invariant relative to the screen.
- patch
-
1.07
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native SetTextTagVelocity takes texttag t, real xvel, real yvel returns nothing