I've made some advances in pcsteer. Collision Avoidance is still not working, I've tried many things to solve it but I am having problems with csSectorHitBeamResult, I am using it to detect the nearest collision but, most of the time it fails to detect collisions even if it is in front of a wall =S. well, if any of you know how to fix this, please tell me =P.
However, I added the Pursue behaviour, it can be used in the steering application by pressing the 'p' key.
The npc will then pursue the player.
Pursue is different from Seek in:
1. It continues updating the players position until Interrupt() or StopMovement() are called.
2. It predicts a target future position: target_position += velocity*prediction
So Pursue can be used whenever you want an npc to follow a moving target and seek could be used if you want the npc to look for an object or any other non-moving targets.
Well, thats all for now =-)
Comments are not allowed from anonymous visitors.
|<< <||> >>|