In this guide i would like to talk about Collisions/Hitboxes in Gimkit, and tell what Hitboxes are in Gim itself, as well as in items like lasers, zones, and something else.
this guide can be very useful if you make maps like Blackhole927 “impossible platformer” map where every meter is needed and ACCURACY is important for the map to be completed
: Gim size
: hitboxes
Part 1 | Device
Zone
I experimented a bit and got hitboxes in height (Y)
Um… you might think that something is wrong here, but unfortunately that’s how it is, I want to say in advance that for some reason the hitboxes with lasers are completely different
Let’s now measure the width
After 20 minutes of trying to find an almost perfect hitbox, I got something like this.
and finally let’s find out the almost exact point of the hitbox
…
yes, I’m serious, this is Hitboxes in the zone. If you don’t believe me, you can read this… guide?
Pseudo-Hitboxes: A New Way To Play?
after experimenting a bit i found out that these are plus or minus hitboxes in High, this is what it looks like, now you know that the Gim zone has very small hitboxes, i really have nothing to say about them, i can find all the information here Collision detection - Wikipedia, it’s pretty easy to understand, and i don’t think you need to be an instein to understand it, but let’s get to the lasers.
Laser
Lasers:
as you can see the laser hitboxes are much bigger than the zone
let’s move on to Y
as we can see it turned out to be tic-tac-toe!
and Hitboxes are muchoooooo bigger than the zone, I wonder why it works like that?
lasers showed an interesting result, lasers have a hitbox bigger than Gim itself, although most likely, you will say that this is not so, and you are partly right, since I made the hitboxes a little bigger for a reason that is difficult to explain, but in a word it is because of the editor. and so it is in fact, lasers are a little bigger than Gim
Trigger
Triggers certainly stood out because their Collision is quite strange, it has a rectangular shape, I wonder why they do it like that?
Teleport
I found the distance in length (X) now I need to find Y and connect them into one
I found it and cool! now let’s put them together
That’s all for now, I’ll add other devices later, but for now that’s all I need, go ahead. Let me know if you see any errors!