- No longer uses capsule atoms, everything is contained to the person atom.
- Multiple atom support
- Option to enable cloth collision on existing builtin colliders
- Option for the extra colliders to affect other objects like hands
- New Interpolated collider system, the old one is kept in
Since there's major changes in how this works, treat it like an
alpha version.
In more detail :
Can now convert existing builtin colliders to cloth colliders, if they aren't already. This means you can use Collider Editor to approximate a shape, and if it's good enough, you won't need any extra additional colliders.
I recommend using this for the hips, since my colliders are very rough and often get misaligned when the legs are bent. In fact I've made it the default.
Extra colliders can now be used to collide with other things like hands or objects. This may be useful when the existing builtin colliders are a little lacking in detail. The few builtin lengthwise capsules often can't approximate more muscular legs and arms for example.
New interpolated collider system : adds in-between colliders in a different way than the old system, resulting in a smoother surface. Can impact performance a bit more than the old system.
These new interpolated colliders are shaped like conical capsules, with different radii at each end. This works for cloth, but not for other object collisions, where instead an average capsule is used. The old system is still there, with regular capsules.
Previews for these colliders will be a little wonky.
The number of colliders could be reduced I think, with some sacrifices to quality, let me know if it affects performance too much as it is.
I've added a few extra chest colliders to better approximate more muscular shapes ("lchest0" to "lchest2" and "rchest0" to "rchest2"). If you're opening an existing scene, or loading an old preset, you will need to adjust these or autofit. I should have an autofit system that works per collider and retains edits, but I don't yet.
Loading the new version of the plugin in a scene that had the old version will delete all "uycol_" hidden capsule atoms. If you have added other atoms whose names start with "uycol_" for whatever unlikely reason, they will also be deleted. Rename them before installing the plugin.
When first enabling the plugin or when autofitting, if there are clothes already on the person, they will be pushed out of the way or explode upwards. Just move the person a little bit, or reset the clothes and it should be fine.
A warning :
There was a strange situation, where if the plugin was deactivated all cloth collisions for every atom in the scene would be completely disabled. I think this is caused by immediately destroying the colliders before a FixedUpdate took place. I've made it so any collider deletions happen with a half a second delay, and it seems to solve the issue. If you encounter it, you need to do a hard reset. You will notice this delay when deactivating sections in Customization.
Do not turn on and off sections too quickly, faster than 0.5 seconds.