2D topdown projectiles movement
Hey! I'm making 2d topdown shooter and right now I have shooting based on 2D raycast. It's working fine, but I wanted my player to be able to dodge projectiles and with raycast it's almost impossible. So I thought I would spawn normal bullet objects and move them very quickly using transform.
The thing is, what I suppose, that transform would move my bullet let's say 100 pixels at one frame. So it would jump like that: 0 -> 100 -> 200 -> 300 pxl on a screen and so on. So the conclusion is that player won't be hit at all if he is between this points.
Am I correct? If so, how do I solve this problem?
Your answer
Follow this Question
Related Questions
Help Spawn Bullet 2D 0 Answers
FindChild not working - Unity 5.5 2D 0 Answers
Rotate 2D ignoring certain angle 0 Answers
Top-down Room based dungeon: darken the rooms the player isn't in 0 Answers