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
 

How would I determine when a projectile will begin to drop?

Previous Thread :: Next Thread 
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
08 Dec 2015 06:22 PM
@cntkillme Because what I am posting belongs in scripters, am I wrong?
Report Abuse
Vampyroteuthiss is not online. Vampyroteuthiss
Joined: 17 Jun 2010
Total Posts: 11541
08 Dec 2015 07:00 PM
Using a quadratic could work, but in this instance, a cubic might work better. because on a quadratic it is going to be symmetrical, but with a cubic function, you can specify the slope better.

Lets say you want the projectile to fly and drop at 30, with a quadratic it would be up exponentially until you reach the axis of symmetry then the opposite. Cubic function, however you can set a root in the negatives and have the projectile fly more level or more steep according to your preferences.

tl;dr version: Quadratic function will work just fine, cubic function will have more customization and ability to change
Report Abuse
Vampyroteuthiss is not online. Vampyroteuthiss
Joined: 17 Jun 2010
Total Posts: 11541
08 Dec 2015 07:02 PM
Oh and to account for whoever mentioned gravity as a constant, that is just another number youd have to work out into the formula. I would get into it and provide examples, but i had just learned this and took an hour long test on it so id rather not lol.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
08 Dec 2015 07:07 PM
"I actually do know how unlike you."
He actually desires to know, unlike a certain ignorant person I know.
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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