Timeline for Unable to Shoot Enemies Due to Proximity in a 2D Game
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 29, 2024 at 12:10 | vote | accept | Javier Triviño | ||
| Sep 26, 2024 at 15:34 | answer | added | Philipp | timeline score: 1 | |
| Sep 25, 2024 at 8:26 | comment | added | Javier Triviño |
I added the currentFirePointOffset as a test because my bullets weren't hitting the exact mouse position, but I've since fixed the issue in a better way and now need to remove the offset.
|
|
| Sep 25, 2024 at 1:22 | comment | added | Kevin |
Where is currentFirePointOffset assigned a value?
|
|
| S Sep 24, 2024 at 22:37 | history | suggested | LudoProf | CC BY-SA 4.0 |
Formatting, de-fluffing, tagging
|
| Sep 24, 2024 at 21:32 | review | Suggested edits | |||
| S Sep 24, 2024 at 22:37 | |||||
| Sep 24, 2024 at 20:28 | history | edited | Javier Triviño | CC BY-SA 4.0 |
added 3921 characters in body
|
| Sep 24, 2024 at 16:47 | comment | added | Zibelas | Giving a collider to the gun can cause some other problems and/ or bugs like the plazer could potentially use the weapon to push himself away from enemies without taking dmg. | |
| Sep 24, 2024 at 14:38 | comment | added | Javier Triviño | Yes exactly, the fire point is far from the player, as the gun is quite big. So not sure what is usually done in this cases, as I don't use auto fire and some enemies make the player damage with collision. Thanks for answering!! – | |
| Sep 24, 2024 at 14:07 | history | edited | DMGregory♦ | CC BY-SA 4.0 |
appended answer 212010 as supplemental
|
| Sep 24, 2024 at 10:59 | comment | added | Philipp | It's not clear from your question why "the pistol not having a collider" would lead to this. Perhaps the actual problem is that the projectiles spawn a certain distance from the player, so when the enemy is very close, the projectiles spawn behind them? You can reply to this message. | |
| S Sep 24, 2024 at 10:40 | review | First questions | |||
| Sep 26, 2024 at 17:41 | |||||
| S Sep 24, 2024 at 10:40 | history | asked | Javier Triviño | CC BY-SA 4.0 |