Make Enemy Shoot At Specific Location?
Hello,
I'm trying to do a ship that is always rotating following the player , and that shoots him. I Instantiate the bullet and get the player position (all that works). Then I use AddForce (player.transform.position * bulletSpeed), but this isn't working well. It's like there's some kind of offset, and many times the bullets can't hit the player because they go a bit to the left or the right.
I have tried changing the rotation when I Instantiate with LookRotation, but then I don't know how can I add the prce to the bullet, and besides, my sprite can bee seen, because it rotates. Here you have my scripts. I appreciate any help. Thanks.
@danizufrique - post your code as code... many people might read this on mobile device.
Your answer
Follow this Question
Related Questions
Third person camera : follow and mouse wheel rotation 2 Answers
Turret following target 0 Answers
How to fix turret rotation offest by 90 degrees 2 Answers
How can i get my enemy spawner follow the player? 0 Answers
More problems with arrow shooting 0 Answers