Author Topic: Why is RA2 so dumb at detecting collision  (Read 765 times)

Offline 123savethewhales

  • *
  • Posts: 2923
  • Rep: 30
  • Friendship is Magic
  • Awards BOTM Winner
    • View Profile
    • Awards
Why is RA2 so dumb at detecting collision
« on: June 14, 2013, 10:59:41 PM »
The more I mod this game, the more I notice how dumb RA2 is at detecting collision.

1.  How high you can raise a component depends on the initial Y Values of the mesh, regardless of which AP you use.



See how I lay the battery flat?  If I have it upright, then you can't raise it higher even when using the other AP when clearly nothing is colliding.  This is also why half sheet cannot connect to chassis below 0.406107 (where the Y value was used for it's width).


2.  RA2 cannot handle concave curves



See that?  Nothing in the center, yet the game treats it as though something is there.  The game just draws an invisible line through the points.  This is why some component's damage just plan suck regardless of the stat you give them.

3.  So why doesn't it happen with Tribar?

The game only c for one fully connected object in a mesh.  More than 1?  It simply ignores it.  So looking at the tribar you see 3 bars right?



It's collision mesh is actually drawn as separate objects.  So while it is visible with F12, only the upper right bar in this image actually collides with anything, no wonder why they are so hard to knock off in stock.  You can of course fix this by changing the Simulation Geometry number, but then you will end u with a giant pyramid as mesh and face problem #2.

I am surprise that with so many mods out there, nobody notice any of these things.
« Last Edit: June 14, 2013, 11:35:36 PM by 123savethewhales »

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Why is RA2 so dumb at detecting collision
« Reply #1 on: June 14, 2013, 11:55:02 PM »
I've known about all three issues for quite some time but there doesn't seem to be any way around it.

Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: Why is RA2 so dumb at detecting collision
« Reply #2 on: June 15, 2013, 12:05:17 AM »
The easiest solution for the tribar issue is to settle for a slightly larger pyramid (this would mean remodeling the tribar supports), and have the 3 APs floating a couple of units away from the vertices.

As for the concave issue, I guess breaking the component into 2 would improve point damage, but yeah that still sucks.
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline 123savethewhales

  • *
  • Posts: 2923
  • Rep: 30
  • Friendship is Magic
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Why is RA2 so dumb at detecting collision
« Reply #3 on: June 15, 2013, 01:32:25 AM »
Changing the tribar's collision mesh is easy.  How balance would "floating AP" be though is a whole other matter, though I suppose it would still be a heck a lot better than 1 bar worth of collision.



the collision is now a 3 point pyramid with length == 70% of the tribar.  That's the biggest hit box I can make without reaching below the center AP (which will makes it a complete pain to use).
« Last Edit: June 15, 2013, 02:06:01 AM by 123savethewhales »

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: Why is RA2 so dumb at detecting collision
« Reply #4 on: June 15, 2013, 02:21:29 AM »
I ALWAYS WONDERED WHY SPINNING THE TRIBAR MADE IT FIT SOMETIMES
You got my vote for RA2 Wizard. Always and forever.

Offline Venko

Re: Why is RA2 so dumb at detecting collision
« Reply #5 on: June 15, 2013, 05:54:45 AM »
I'm aware of all these downsides of the game, but sadly I can't offer a solution  :(