Hitbox Help (Issue With Locations)
Posted: Mon Apr 09, 2018 9:01 am
Current Code: https://pastebin.com/2xPSE9dL
I just need help with Hitboxes, I don't really get how it works. I've experimented, and tried code from other people but I am doing something wrong since my "bullet { }" x and y is nil. I am trying to get the bullets X and Y location but the table which is meant to add in the variables onto the array is not working the way I want to. I'm quite new, so forgive me if I've made a dumb mistake.
If there are other ways of creating a hitbox, can I know about it? I've looked through the wiki and found physics, but some of the documentation doesn't make sense to me (some documentation don't really have an explanation).
Thanks.
I just need help with Hitboxes, I don't really get how it works. I've experimented, and tried code from other people but I am doing something wrong since my "bullet { }" x and y is nil. I am trying to get the bullets X and Y location but the table which is meant to add in the variables onto the array is not working the way I want to. I'm quite new, so forgive me if I've made a dumb mistake.
If there are other ways of creating a hitbox, can I know about it? I've looked through the wiki and found physics, but some of the documentation doesn't make sense to me (some documentation don't really have an explanation).
Thanks.