Search found 8 matches

by ernie_avina
September 24th, 2021, 8:26 pm
Forum: Everything
Topic: AABB Resolution but not working.
Replies: 3
Views: 3962

AABB Resolution but not working.

I posted about implementing AABB on 2 boxes from a clean chili framework and yall ignored it. i was able to come up with this. i have the collision response working if you only move using only one direction at a time. now when i try and slide the box snaps to another edge thats not where i wanted it...
by ernie_avina
September 20th, 2021, 3:10 pm
Forum: Everything
Topic: Help with AABB resolution implementation.
Replies: 0
Views: 16062

Help with AABB resolution implementation.

Hello, I would like some help implementing some sort of AABB resolution (I've seen it be called Swept AABB). I have provided a .sln file. Its just your basic Chili framework with a DrawRect() function made by me, and a 2 sets of data for the rectangles dimension (x, y, width, height) labelled as x0,...
by ernie_avina
September 6th, 2021, 4:07 pm
Forum: Everything
Topic: My first maze game
Replies: 3
Views: 4397

Re: My first maze game

hi! did you ever figure out houw to do it? im having the same problem im a beginner and cant read OOP as well but i dont care i want to learn exactly what your asking. but every tutorial out there has OOP implemented in their code and i just cant understand it. if you found a way without OOP would y...
by ernie_avina
September 22nd, 2020, 7:47 am
Forum: Everything
Topic: solid rectangle collision
Replies: 16
Views: 7641

Re: solid rectangle collision

thanks for that last post i dont even know what a struct either lol. i dont wanna discredit your help but i think i figured it out almost so what i did was make a bool for detection (isColliding) this is just a bool variable that holds the result for the collision detection ( IsColliding() ). then w...
by ernie_avina
September 20th, 2020, 12:26 am
Forum: Everything
Topic: solid rectangle collision
Replies: 16
Views: 7641

Re: solid rectangle collision

alright i give up thanks alot. i appreciate it. i just dont understand it at all at this point i dont even know what Vec2 is or the ?
i guess ill just wait until im better at coding its just that it seems a lot easier than i thought. and also there is no velocity im moving the square with WASD.
by ernie_avina
September 19th, 2020, 6:25 am
Forum: Everything
Topic: solid rectangle collision
Replies: 16
Views: 7641

Re: solid rectangle collision

https://forum.planetchili.net/download/file.php?mode=view&id=2993&sid=869856aab56074aaeae765002c0fc4ba thanks for replying, sorry im trying to be as detailed as i can be. the collision detection and clamping to the screen is the part that i can do. the issue is here im trying to have the white squar...
by ernie_avina
September 17th, 2020, 9:14 am
Forum: Everything
Topic: solid rectangle collision
Replies: 16
Views: 7641

Re: solid rectangle collision

wow thanks for the responses i appreciate that. but im like really early in the beginner tuts. im trying to get the box to clamp to the wall which is a rectangle floating on the screen. when i get the left side to clamp it works but if i go to the other side it goes through and treats it as its clam...
by ernie_avina
September 5th, 2020, 1:06 am
Forum: Everything
Topic: solid rectangle collision
Replies: 16
Views: 7641

solid rectangle collision

so i understand how to detect collision thats not the problem. the problem comes when i try to make a wall(rectangle) and have another rectangle controlled by me to just not go through it. ive tried so many different frustrating ideas but nothing works. yes ive searched the internet all i ever see i...