Raised This Month: $ Target: $400
 0% 

[Maths] Given 2 points, retrieve a point between them


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Blinx
Senior Member
Join Date: Oct 2013
Old 07-14-2022 , 15:40   [Maths] Given 2 points, retrieve a point between them
Reply With Quote #1

Hey there, I'm having trouble with a maths problem that I don't know how to put into code, hopefully this diagram helps explain what I'm looking for.



I have 2 points, Point A and Point B, I want to travel along the line between them for a set amount of distance and then retrieve Point C. I can get the angle of this line no problem, I just don't know how to travel a set distance along it. It'd be like a TraceRay except you use a vector and travel along it a fixed distance and retrieve the end point.

Thanks for your time.
Blinx is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode