Flash Artificial Intelligence 1
Loading...
16,193
Top Comments
see all
All Comments (68)
-
@equin0x80 In this tutorial, he used sin, cos, etc. to find the radius in which the square can "see" the ball and start following him
-
@FlashReknown Wow, that could not be more wrong. Sin, cos, etc. are basic trigonometry and have nothing to do with simulating "intelligence", artificial or otherwise.
-
good step in tut, but getting dizzy from the zoomed in view (not to nag though, appreciated this video)
-
Thank you and subbed
-
voice is not clear
-
Thats not a.i., thats basic collision detetion and managment. If what you've done is A.I., pong would be god.
-
not an artificial intelligence...
Loading...
Wouldn't artificial intelligence allow the cube to decide not to follow the circle as it leads to no purpose?
bakereffect 2 years ago 12
Artificial intelligence is AI, that is where you give a NPC, Computer, Character, Scenery Object, etc. a mind of it's own. In this case pbj746 used a Math expression called Math.sqrt which was used to be able to check if the character was within the distance (100 pixels) squared of the enemy, thus making the enemy have a mind of its own by knowing when or when not to fallow the character. AI is simply any type of Math expression (Math.atan2, Math.sin, Math.cos, etc.)
any questions? Chris
FlashReknown 2 years ago 7