• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by Techsuport · Sep 08, 2011 at 01:26 AM · movementphysicspositionfindmatrix

Find Quadratic Equation From 3 points for Jump

I haven't found anyt$$anonymous$$ng strait forward and useful anywhere so far, and thorough i should ask here so others can see an answer for t$$anonymous$$s 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?

T$$anonymous$$s looks promising but haven't tried it and later in the comments says there is an error in the finder for b and c

Comment

People who like this

0 Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Techsuport · Sep 08, 2011 at 01:27 AM 0
Share

THIS looks promising.. link didnt work http://www.physicsforums.com/showthread.php?s=ba68cf51c05bb3bf2f8105104638e812&t=404174&page=2

avatar image Techsuport · Sep 08, 2011 at 05:37 AM 0
Share

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

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by testure · Sep 08, 2011 at 01:29 AM

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).

Comment

People who like this

0 Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image testure · Sep 08, 2011 at 01:34 AM 0
Share

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.

avatar image Techsuport · Sep 08, 2011 at 05:33 AM 0
Share

yeah.. not paying for that ish..

and im going for accuracy in my math..

avatar image testure · Sep 08, 2011 at 05:41 AM 0
Share

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.

avatar image Techsuport · Sep 08, 2011 at 05:52 AM 0
Share

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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

how to make an object move like the one it is in contact(moving using Animator) with in unity? 1 Answer

RigidBody2D Movement Stuttering 3 Answers

My animation and player movement are messing with each other 0 Answers

How do I detect how far a character has fallen? 1 Answer

rigidbody friction problem....HELP!! 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges