AlphaAsh / Kerbal-Konstructs_DEV

Dev repository for Kerbal Konstructs
https://github.com/AlphaAsh/Kerbal-Konstructs_DEV
2 stars 8 forks source link

Added an option to make a collider convex again. #3

Closed StollD closed 8 years ago

StollD commented 8 years ago

Yeah, so with 1.0.5, the .mu loader automatically sets every collider to "convex", because in Unity 5, concave colliders on rigidbodies won't be supported anymore. That may be useful for Part models, but it has no impact on static assets, because they don't have rigidbodies!

With this change, you'll be able to force colliders back to concave mode, either specify their respective names (comma-seperated) or just use "all" as the value.

For example here's a little script that I used to convert all colliders from you back to concave:

@STATIC:HAS[#author[AlphaAsh]]:NEEDS[KERBALKONSTRUCTS]
{
    concaveColliders = all
}
AlphaAsh commented 8 years ago

Excellent. I need to get the latest source up first then I'll pull this in. Won't be until next week now.