Question by
castor · Jul 26, 2019 at 02:05 AM ·
c#trigonometry
Knowing a direction, angle and distance, how to get a position in space?
I know this is probably basic trigonometry, but I don't have enough knowledge to figure out the answer. I've also added an image that should help figure out the problem.
Knowing the following variables:
Vector 3 positionA;
Vector3 positionB;
float desiredAngle = 20f;
float distanceAtoB = 0.1f;
How can I figure out positionC (Vector3)?
calculateangle.jpg
(16.6 kB)
Comment