Collision systems WIN

Posts that don't fit in the other forums
Post Reply
Lin
Posts: 18
Joined: Sat Feb 20, 2010 5:20 pm
Location: Salt Lake City

Collision systems WIN

Post by Lin » Sun Sep 19, 2010 5:40 pm

YESH MY MOVEMENT SYSTEM WORKS! KINEMATICS AND COLLISIONS BABY!

Sorry, it's been a long time coming, and don't have anybody else to say it to. Anybody else have any collision system experiences they'd like to share?

relminator
Posts: 84
Joined: Sun Apr 11, 2010 10:43 am

Re: Collision systems WIN

Post by relminator » Mon Sep 20, 2010 4:36 am

Nice!

Is that 2d or 3d?

Just a week ago I helped someone with his collisions for a 3d DS kart game. We used line + vector projection. My current game (a space shooter) uses a simple AABB (Though it may change to SAT for bosses).

I have implemented SAT in 20.12 fixed point but I'm having problems with MTV response. Maybe some conversion error since it perfectly works in floating point.

http://rel.betterwebber.com/junk.php?id=109

For simple kinematics, you could abuse the GL stack to do relative movements and rotations.

Lin
Posts: 18
Joined: Sat Feb 20, 2010 5:20 pm
Location: Salt Lake City

Re: Collision systems WIN

Post by Lin » Mon Sep 20, 2010 8:30 pm

It's a 2D system. I guess it uses AABB although I had forgotten that term. It's just been "my boxes" for the past few months. :) And I guess I have representations of mass and force that I use just a little bit, so it's not purely kinematics.

I'm using floats. Why did you use fixed point numbers in the past?

relminator
Posts: 84
Joined: Sun Apr 11, 2010 10:43 am

Re: Collision systems WIN

Post by relminator » Tue Sep 21, 2010 12:53 am

I use devkitARM for DS coding and the DS has no FPU. I reckon you are coding for WII or PSP?

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Collision systems WIN

Post by Izhido » Tue Sep 21, 2010 8:51 pm

True, but remember, even if there is no hardware FPU support, gcc provides you with a software implementation of it... slow, of course, but quite effective.

Lin
Posts: 18
Joined: Sat Feb 20, 2010 5:20 pm
Location: Salt Lake City

Re: Collision systems WIN

Post by Lin » Tue Sep 21, 2010 9:32 pm

You're shitting me, the DS CPU doesn't have a floating point unit? Crazy as a snake's armpit.

Oh, and yes, this is on the Wii.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest