What is a AABB collision?
TwiceUponATime told me that it would be good to use it. Can someone give me an example? Thank you.
TwiceUponATime told me that it would be good to use it. Can someone give me an example? Thank you.
This is a collision detection method in which objects are set parallel to the coordinate system axes. This simplifies calculations - you only need to check a few conditions - and all of them must be met. This is the fastest collision detection method. The easiest but it only works for rectangles (in 2D) or boxes (in 3D).
Oh, that is cool, but can you use AABB collisions without boxes and rectangles? Because that is kind of sad. :(
@Tiberius the rectangles is just a way to check the collsion, there's comments in the code, here an example
https://microstudio.io/i/warrior/collide_example/
and also, have a tultorial in the tultorial section teaching how to do many things here, in your last post you sad "i wanna do a sword", if you go to explore section and go down, will appear some tultorials and one of them is the "strike/interact", there's a code to do a sword and collision
Oh man thank you. :) So you the rectangles are just the indicator. Thank you. :)