What are attractors and repulsors? How do they interact with a steering system? When are they useful, and what are their limitations? When can they be used for obstacle avoidance, and when are they insufficient?



What are attractors and repulsors? How do they interact with a steering system? When are they useful..

Answer / Jagat Pal

A Finite State Machine (FSM) is a model of computation that describes the possible states an entity can be in, and the transitions between those states based on certain events or conditions. It consists of states, transitions, and actions. Each state represents a distinct behavior or condition, and each transition indicates a change from one state to another. When an event occurs, the FSM moves to a new state if there is a matching transition. FSMs are used in game development to design the behavior of AI characters by defining their possible states (e.g., idle, walking, attacking) and the transitions between them based on specific conditions or triggers. For example, an AI character might be in the 'idle' state until it sees an enemy, at which point it transitions to the 'attack' state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Software Interview Questions

How to Populate a Table With Rows?

1 Answers  


A bank offers 5% compound interest calculated on half-yearly basis. A customer deposits Rs. 1600 each on 1st January and 1st July of a year. At the end of the year, the amount he would have gained by way of interest is:

1 Answers   Zoho,


What are the Issues faced while creating Delivery & Shipment Execution?

1 Answers  


In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?

1 Answers   TCS,


Explain Pricing Determination

1 Answers  


How to Monitor the Batch Jobs?

1 Answers  


what is extern

1 Answers   Efftronics Systems,


What is a HGS

1 Answers   HGS,


How to ignore some file in mvc

1 Answers   Chetu India,


what is FORMAT keyword

1 Answers  


What is a decision tree? When would you want to use one? What are its performance characteristics? How can you generate a decision tree automatically from a pre-existing data set? Is it feasible to do this at runtime, and has it been done in a commercial game before? When and why would you want to do this, and how would the data need to be organized to make this possible?

1 Answers  


How to Create a Database?

1 Answers  


Categories