Quantcast
Channel: Questions in topic: "rope"
Viewing all articles
Browse latest Browse all 194

Finding angles between Vectors to Work Out If Three of Them are Collinear

$
0
0
So... I'm working on a rope swing prototype and in short, I need to find an angle between some vectors or if I can can draw a straight-line between three different vectors. I've been searching for ages but can't seem to find any clear solution. Say I have three vectors, Vector1,Vector2 and Vector3, I need to find the angle between Vector1 and Vector3 and Vector1 and Vector2. If they're the same then I unwrap the rope. The other way to do this, is just if I can draw one straight line through all three Vectors then I unwrap. I think I might be able to use the equation of a straight line, but I'm not sure how to apply the maths to vector positions. Hope I was clear enough. C# is preferable.

Viewing all articles
Browse latest Browse all 194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>