|
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
(comments are locked)
|
|
http://itween.pixelplacement.com/examples.php check 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). 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.
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
(comments are locked)
|

THIS looks promising.. link didnt work http://www.physicsforums.com/showthread.php?s=ba68cf51c05bb3bf2f8105104638e812&t=404174&page=2
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