Coding a Video Game - Dynamic Enemy AI arm  TOPIC_SOLVED

Trigonometric ratios and functions, the unit circle, inverse trig functions, identities, trig graphs, etc.

Coding a Video Game - Dynamic Enemy AI arm

Postby eteeski on Wed May 30, 2012 6:08 am

I'm making a first person shooter and I'm trying to use trigonometry to create arms for the enemy to be able to hold a gun. Here's an images to help show what I'm trying to do.
I guess another way i could explain this is that I have an acute triangle (I think that's what it's called. In other words, a triangle that has three sides of different length) and I know that length of all three sides. How to I find the angles of that triangle?
Posts: 1
Joined: Wed May 30, 2012 4:55 am



Re: Coding a Video Game - Dynamic Enemy AI arm  TOPIC_SOLVED

Postby anonmeans on Fri Jun 01, 2012 12:14 am

You know all 3 sides so its a SSS triangle. Use the law of cosines to start.
Posts: 48
Joined: Sat Jan 24, 2009 7:18 pm

Return to Trigonometry