# Find Quadratic Equation From 3 points for Jump

 0 I haven't found anything strait forward and useful anywhere so far, and thorough i should ask here so others can see an answer for this too (Hopefully soon)I am trying to do jumping from joint to point with tight arch control. What I want to do is pick a landing point, and a height, and have the object jump through the arch defined by the current position (A), the target position (B), and (C) the point between A and B with some height.-How do you find the quadratic for 3 points in 3d space?This looks promising but haven't tried it and later in the comments says there is an error in the finder for b and c more ▼ asked Sep 08 '11 at 01:26 AM Techsuport 81 ● 6 ● 6 ● 10 THIS looks promising.. link didnt work http://www.physicsforums.com/showthread.php?s=ba68cf51c05bb3bf2f8105104638e812&t=404174&page=2 Sep 08 '11 at 01:27 AM Techsuport been finding a matrices method, but i have no experience using a matrix in unity(any programing). Ill to inverse a 3x3 matrix for the math.. help plz Sep 08 '11 at 05:37 AM Techsuport add new comment (comments are locked) 10|3000 characters needed characters left ▼ Viewable by all users

 0 http://itween.pixelplacement.com/examples.phpcheck out the 'accurate lob' example, it does exactly what you're talking about (though it does not use a rigid body, don't know if that's a requirement for you or not). more ▼ answered Sep 08 '11 at 01:29 AM testure 4.2k ● 20 ● 25 ● 48 also, if you're not hellbent on using physics to do the job- it could be as simple as a little vector math with smooth interpolation. you have your starting point and end point you know what you want your peak jump height to be, and using 'fakey physics' you could just put the peak of the jump dead center of the arc. Getting the X and Z for the midpoint is pretty straightforward vector math. interpolate your position from the start to the mid point, and then from the midpoint to the endpoint. boom, accurate arc.. no physics necessary. Sep 08 '11 at 01:34 AM testure yeah.. not paying for that ish..and im going for accuracy in my math.. Sep 08 '11 at 05:33 AM Techsuport so are you making a simulation or a game? I mean, do whatever you want- I just have a feeling that you're way over thinking a very simple problem. Sep 08 '11 at 05:41 AM testure im actually doing a rerunning game, but this is for calculating the arch of a long ranged jump. even if i was over thinking it i dont like questions unanswered.. and i think i have a solution, but i have to do some manual math with matrices cause i dont know how to use matrices in unity Sep 08 '11 at 05:52 AM Techsuport add new comment (comments are locked) 10|3000 characters needed characters left ▼ Viewable by all users

By Email:

Topics:

x1866
x1366
x885
x207
x81

asked: Sep 08 '11 at 01:26 AM

Seen: 1124 times

Last Updated: Sep 08 '11 at 05:52 AM