Sign in to follow this  
ms75214

collision detection help

Recommended Posts

ms75214    143
I'm working on a game based on someone else's source, and he uses collision detection data like this:

(
{
radius = 26.0;
bounds = "AAAANIECAAAANAMBEICBMKECKCHKMIMBEEEELNECFFGILCMBEEEELDECFFGIJKMBEILEKMECPGMEIHMBMJFIKFECEIHNFOMBLFNJIHECPAABNBMAHDFNIFECOIBAMHMAIHIIGOECKIECFDMABFNEFPECOOCPIMLPBLEFEJECNACBEOMABLEFDJECOIBAIHMAGMNKCPECANIBJGMAHCEOAJECKAEGBOMBKCNIHBEBKNAJKAMBFEFPBDEBLAPALBMBOHBLDPEAHAPDLHMBNMGHKHMAPPEMKNMBOOLDADMBPPEMKFMBODPFFEMBKHLAJCMBCCMPINMBDPFPHAMBOOLMKKMBKBKACNMBLMCKMAMBICGELOMAHHLOMMMBJKOJBGLPMOOCMPMBLAFJJNEAFGKFMJMBLNBOCGEBKCBDLKMBLOOFHJEBKCBDLCMBNPPCIMEBPGMEJHMBOBCOLFEBOMIJFPMBOBCOOFEBBAIFDEMBJNGFPLEBEABEBCMAMOLCBNECOIBANBDPCKDECJECDKEENEEACKDEDFECCMIMNNEACCNODFECCLIMNNEACCNODFECGCGAIHDPPNBCEFECGAPLGIMAHJFKFKECLAHNLEMAHJFKGGECPHKKAKMBEDAMHPECDKFKBPMBDDMFIMECOIPFBHMBCIDMJKECIIEOOIMALIDMKHECIIEOMIMALIDMKLECLHJDJELPNFDJLJECLIJDJELPNFDJLJECEBGOCKLPDJIMLLECHNKCPFLPGHNAMHECIPMONGLPKGDDNEECCIHJAEDNOFCKOAECNIAJEMEABCCLOLECICMPIFEAEJNBONECIBMPIFEAEJNBONECPABPIBEAKNNFPGECJFJOJFEADINBPPECGEKCMDEAJFEGAEEDCIMBAFEBGCGJAIEDCIMBCFEBGCGJALEDCCGLFFEBIKBMAPEDJHLKIGEBPLCCBCEDHNBJKGEBJIHFBEEDBMPMMHEBEAANBGEDBLPMMHEBEAANBGEDMAOMMPEBJDBIBNED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JBCECMPANOBECEGGLAOECLMLLOIECCKDEAFECNBNEPAECDBGPPCEBLBJPPHECEIKMNEEBLBJPPNECEIKMLEEBPKLAAAEDDMKAKAEBIBGCABEDAFBEJLEBJELHAEEDLFODHEEBOKBIAHEDDJIICMEBIFIGAIEDEGOFLOEAGDAAAJEDAAAAIADPIFIGAIEDIMMKHNMAOKBIAHEDDJIIAMMBJELHAEEDLFODFEMBIBGCABEDAFBEILMBIBGCAAEDAFBEJDMBIENJPIECJPANKNMBEGOGOPECKICKMAMBCFDBOGECFPPHMLMBAAAANMECAAAANAMB";
outerAABB = (-25.985744, -26.0, 194.9732, 239.00279);
innerAABB = (20.953606, 50.33509, 97.0, 97.99999);
},
{
radius = 17.0;
bounds = "AAAANIECAAAAIIMBGAOOMOECBLBFIDMBEAIFMGECFMENGJMBEAIFLMECFMENDJMBMMDKLIECNPONCAMBOFEDKPECAIFFMKMAAKCCIOECEIOHPKDPBKLNIJECCAJLCAEAEAIFIAECEIGFINEAIAAKGNECEIGFONEADKCLGJECLDLFAAEBFJOMGDECPPMKPPEAPBBAFIECDEBEAEEBMMIFEAECJAENLAEAMMIFDAECJAENJAEAOPGFCDECNDOBHFEAEGHKPAEBJIOHPLLPOALOCOEBDBKKEAMBMPPCOBEAFMBDFIMBNJGKDPEAJCOPFPMBBOHEBIMADKACFCMBAPDKKMMADKACECMBEPDOALMBOOKLCJMBFEHBDJMBDEADAHMBNFEFFPMBFNLOLGMAJEELHLMBAMFMCAMAPPNOIFMBLKMJHPDPOKOMIHMBMMDAJDEAGKNIIDMBFEMFACEBMBFEHDMBFPIMDJEBMBFEGDMBFPIMFJEBNPONEAMBMOBEIHEBLONLOBMAMOBELHEBFAJKKJMAAOJLMFEBGAMLGMEAIHMNACECPOFDMIEAFHFDAKECPPCJDEEBFHFDBGECJFJGILEBAJHMCEECCCFKIJEBGMGPCKECOIBJIDEBDGFAEAECMGPNHNEBLOHIEGECBANNGPEBEGBBFBECINBDALEBCLBBFLECFEGPHGEANJ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BOEDDKGHBJEDEMDFBMEDDKGHBFEDNOAOBKEDGGBNBCEDMJMFBJEDLDMFBBEDDDPLBJEDEKMLAPEDFGONBKEDMNJAALEDGKMEBKEDEMDCAHEDGKMEBJEDEMDCABEDGGGLBIEDAPKKPJECAAAABGEDPABCPCECAAAABGEDBEADPAECAMHMBHEDOOFCOIECAAAABIEDAAAAOAECAAAABIEDAAAANKECLILEBGEDCBPNMMECFEAFBDEDFIPFMBECFEAFBBEDFIPFLNECKNGIAPEDMIBNLLECNLMNAMEDCOCKLAECEKGMAIEDHLLDKHECEKGMAFEDHLLDKDECBMCGADEDMOCGKBECKLGDAAEDKILPJKECGMPPPJECLHPMJFECLFGMPCECCJHAIMECDBAAOIECPBCOIGECLGNPOGECINKCHKECGOGNODECJGPAGJECEAHANKECAHKAFFECBGLNNFECBPIDEHECLMCNNDECDNMJDEECHNDEMOECMGJLCEECHCDFMHECPFNHBHECLFJELOECAFFLAPECGGNJMMECCICAPOEBBGGBNAECLMNMPEEBDAPPNGECGOACOBEBMAHKNPECKOKGMMEBCPDHOJECFGIEKJEBCPDHOPECFGIEIJEBAMMAPDECCCKKGCEBKIAKPGECECFFFAEBALIDPNECCDLCOMEAEAAAAAEDAAAAIADPALIDPNECCDLCKMMAKIAKPGECECFFDAMBKIAKPEECECFFEAMBNPACOJECHJELHLMBAAAANMECAAAAIIMB";
outerAABB = (-16.99068, -17.0, 176.941, 221.00183);
innerAABB = (28.323265, 58.454353, 85.0, 82.99999);
},
)

Any ideas what type of collision detection he is using? I totally don't understand this.

Share this post


Link to post
Share on other sites
Aardvajk    13207
No idea what that bounds field is all about though. Are you sure the author isn't a secret agent? Or are you? Is using the forum as a dead letter drop within the site rules? :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this