In my game I draw the line using two points. I want to calculate the points between the line. Please give any formula for finding points between the two points.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your two points are
AandBthenis the equation of the line joining
AtoB, and consequently allows you to find any point lying on the line between them (by using an appropriate value for t).Does this help??