generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: What is Lerping and does it exactly work?

Previous Thread :: Next Thread 
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
17 Jan 2016 02:20 PM
I saw the wiki page about it but it explains nothing but "It is similar to tweening"

I have never got into tweening in the first place. Anyway, I am making a vehicle and I am wondering if Lerp can make it an easier.

I use BodyVelocity to the move the vehicle and BodyAngular thingy to turn it around.


Report Abuse
AkaLua is not online. AkaLua
Joined: 27 Jul 2012
Total Posts: 526
17 Jan 2016 02:33 PM
If you tween 10 to 20, with a lerp amount of 0.5, you will get 50.

It calculates a number between 2 numbers based on another number from 0 to 1


-____________________________-
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
17 Jan 2016 02:40 PM
Not sure if Aka is trolling you, or what but...

> print(Vector3.new(10,10,10):lerp(Vector3.new(20,20,20), .5))
15, 15, 15


Report Abuse
AkaLua is not online. AkaLua
Joined: 27 Jul 2012
Total Posts: 526
18 Jan 2016 10:11 AM
I meant 15 sorry


-____________________________-
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
18 Jan 2016 10:14 AM
It is just an interpolation method.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image