Skip to main content

Questions tagged [lerp]

Short for "linear interpolation".

0 votes
1 answer
96 views

I am using unity as my game development platform. I was trying to create script that could interpolate time scale to achieve a flurry rush. The code below is my attempt: ...
pockspocky's user avatar
0 votes
1 answer
231 views

I am using Godot 4.3, it is giving me this error and when I change 0 to 0.0, the character stops moving. If I change the last parameter to an integer also it still shoots an error: ...
zikorachimnefe fredrick's user avatar
0 votes
1 answer
264 views

I am trying create a small lerp helper script that basically allows me to do something like a small tween with a extension or static method (So I can call it from my other scripts easily like you can ...
Ivan's user avatar
  • 379
2 votes
1 answer
551 views

I built a subGraph in Unity Visual Scripting to move a GameObject ("returnThisGameObject") from its current location (Point A) to its originalPosition (Point B). The code run dozen of times ...
kanamekun's user avatar
  • 379
-1 votes
2 answers
852 views

I am trying to make a object move back and fourth but its teleporting instead of moving smoothly. This is my code. ...
JJVS's user avatar
  • 1
0 votes
1 answer
613 views

Here is the code I am using: ...
Daniel Lip's user avatar
  • 1,785
0 votes
0 answers
233 views

I don't understand the logic here. I have the following script which makes a player jump towards a target: ...
yunum's user avatar
  • 69
0 votes
1 answer
1k views

My player is a cube. I want to restrict/prevent its rotation around global y axis. I am doing this using Quaternior.Lerp since I do not want to completely constraint rotation around y axis, I just ...
Liisjak's user avatar

15 30 50 per page
1
2 3 4 5 6