Skip to main content
gamedev.net
🔒 Locked

AI beginner

Started by zaNeXuS Aug 11, 2002 at 11:57 AM 0 replies 250+ views
Original Post
zaNeXuS
zaNeXuS
OK, picture this. THe world is made up of convex objects with one main floor, falling off it, you''ll die. Now, does anyone know of good ways to tell your bots to run to the player, but if there''s something in the way, he must run around and not into it. I mean first off, it sounds easy, but I''m getting so bogged down at the momo\ent. Anyone please help --------------- Gaming is Life ---------------
---------------Gaming is Life---------------
RapidStunna
RapidStunna
You could use pre set waypoints. Then have the bots follow the waypoints to the one nearest the player. If the bot has a direct line with no obsticles between the waypoint and the user, then run at the user. Otherwise, move to another waypoint that does have a direct line.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.