- Home /
Get a certain position..
I am trying to get the position that starts at position A, must pass thru position B and go more the same as the distance between position A and B in the same angle. Looks like I need some Math, isn't it ?
Can anyone help me please ?
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Kiwasi · Oct 08, 2014 at 05:02 AM
 Vector3 A;
 Vector3 B;
 
 Vector3 result = ( B - A ) * 2 + A ;
 // Or
 Vector3 result = 2 * B - A;
thanks for your real quick answer. I will try this very soon.
*** It works perfect. Thanks !!!!!!!!!!!!
Your answer
 
 
             Follow this Question
Related Questions
Calculate a new position instead of using Vector3.back 1 Answer
Creating a bouncing game without using physics - Vector3 math problem, 2 Answers
How to place an object near N number of objects in order to avoid overlap? 0 Answers
Positions to rotations of a regular GO 2 Answers
How to segment a number line of game objects between two points dynamically? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                