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: Help making a slerp function

Previous Thread :: Next Thread 
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
20 Dec 2015 10:39 AM
I am horrible at math and need help making a slerp function. If someone can make a function and explain the math behind it, I would appreciate it.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
20 Dec 2015 10:51 AM
https://en.wikipedia.org/wiki/Slerp

I am not sure if that is what you want.
Also, I sort of can understand what it is saying. I might be able to take a crack at replicating it into a Lua function.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
20 Dec 2015 10:52 AM
This guy is even talking about the equation.

http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/slerp/
Report Abuse
CailThePuppy is not online. CailThePuppy
Joined: 11 Dec 2015
Total Posts: 91
20 Dec 2015 11:32 AM
Slurp c:
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
20 Dec 2015 11:48 AM
Use CFrame:lerp(target, alpha)


Conceptually the math breaks down to this: Figuring out the single rotation that translates start to finish and breaking down that rotation into axis-angle and lerping the angle.
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