Hello,
I am writing a game where in Single Player mode, I need to move an object to simulate the computer's movement.
I have tried to move the Sprite directly (I am using CoCos2d Game Engine) but that loses the connectivity to the world (ie: it doesn't collide with anything in the world once I directly move the Object).
What is the best way to implement my Artificial Intelligence Logic? Is it in the Tick() method and by accessing the object's MouseJoint (I tried this but it crashes on Launch).
THank you all
I am writing a game where in Single Player mode, I need to move an object to simulate the computer's movement.
I have tried to move the Sprite directly (I am using CoCos2d Game Engine) but that loses the connectivity to the world (ie: it doesn't collide with anything in the world once I directly move the Object).
What is the best way to implement my Artificial Intelligence Logic? Is it in the Tick() method and by accessing the object's MouseJoint (I tried this but it crashes on Launch).
THank you all