I’ve viewed this clip which shows how to create a shooting scene with a FP and an AI. I’ve done this exactly as shown, but the AI only turns around when ever I try to face it.
What could be the problem? The difference is the AI I have has a skeleton. I did try adding a steering brick and motion, but it doesn’t seek the FP. There is a navmesh, but even without that, the Ai still turns around.
How else using the bricks would the AI shoot at the player, only using the older method of a bullet firing from another layer, which according to the tutorial narrator is out dated.
How else using the bricks would the AI shoot at the player
a very basic setup:
ray sensor(property) true pulse, set to 60 or 120 to fire every sec/2 seconds when ray is positive
||
and
||
message
on the receiver or in this case the player:
message
||
and
||
property - remove hp
now your object can shoot and remove hp from the enemy/other object.
#edit
also look at your second screenshot, you use ray property target, but that property is placed on him, remove it place it on the object it need to hit.
The only alternative is the old method, bullet collide with the AI and removed, and then may be an add object put in. Like borncg youtube user who I first watched that method for creating a weapon.