1a.png


CUA Collision adds GPU-based collision between simulated VaM hair or clothing and the actual mesh of a Custom Unity Asset. Instead of approximating a complex object with capsules or spheres, the plugin uses the CUA’s readable MeshCollider geometry. This allows hair and clothing to interact with detailed surfaces such as furniture, beds, sofas, tables and other custom objects.

Features:
  • Hair and clothing support
  • Separate controls for Hair and Clothes
  • GPU-accelerated collision processing
  • Adjustable collision offset for hair and clothing
  • Clothing Adhesion / Contact Hold control
  • Automatic detection of active hair and clothing
upd2.jpg upd3.jpg upd1.jpg

Installation and use:
  1. Place the VAR package in your AddonPackages folder.
  2. Select the CUA that should act as the collider.
  3. Add CUACollision.cs to the CUA’s Plugins tab.
  4. Enable collision for Hair, Clothes, or both.
  5. Adjust the offsets and quality settings if necessary.
Important:
  • The CUA must contain a readable MeshCollider.
  • Very large or extremely detailed collision meshes may be skipped by the safety limit.
  • Performance depends on the number of mesh triangles and simulated hair or clothing particles.
  • Clothing collision is generally more demanding than hair collision.
  • Fast movement, very thin geometry or extreme simulation settings can still cause occasional penetration or jitter.
  • This plugin works in addition to VaM’s normal simulation and does not replace the standard character colliders.
  • UPDATE:
    It is strongly recommended to use only one version of CUACollision in a scene. Before adding the latest version, disable or remove any older CUACollision plugin instances saved in the scene. Running multiple versions simultaneously may cause AssetBundle or shader conflicts and unpredictable collision behavior. Older VAR packages may remain installed if they are required by other scenes, but only one CUACollision version should be active in the current scene.
THX @Nial
CustomLayoutUI v0.7 @14mhz - https://hub.virtamate.com/threads/customlayoutui.69010/
HAIR BY @s p l i n e VR - https://hub.virtamate.com/resources/hair-mega-pack-v2.43968/

Share this resource

Latest updates

  1. update 3

    Changelog: Added the opt-in MESHES tab. You can now choose which CUA MeshColliders participate...
  2. Fix

    Fix log Fixed AssetBundle loading from VAR packages and improved handling of conflicts with...

Latest reviews

Positive
Version: 2
Another wonder
Upvote 0
Positive
Version: 2
Another game changer, as much as I am satisfy with laying out custom colliders, this makes it so much easier
Upvote 0
Positive
Version: 2
Haha, we're working on the same thing. You've done a great job with this.
EvilBox
EvilBox
Thanks! Here are a couple more ideas you might find interesting maybe you’ll manage to crack them. In theory you could build a cloth self-collision controller, or even a soft surface system for beds, sofas and other padded objects that compress under body weight and then gradually return to their original shape.
Upvote 0
Positive
Version: 1
太厉害了,这样你都行,不知道你怎么实现的,我只知道vam服装只能接受胶囊碰撞体,真的服你了。
Upvote 0
Positive
em1
Version: 1
Excellent!!
Upvote 0
Positive
Version: 1
Though we can add GPU colliders by plugin to the cua, but that could not give accurate detailed collision, your plugin just fill that gap! Bravo bro!
Upvote 0
Positive
Version: 1
Amazing Bro!
Upvote 0
Positive
Version: 1
This is fantastic! It solves the problem of hair not colliding with CUA. I've always used VAM's inner plane atoms or capsules to prevent hair from clipping through the model, which was a nightmare.
EvilBox
EvilBox
I know that feeling! That’s exactly why I made this plugin. I was so damn tired of placing capsules everywhere xD
Upvote 0
Back
Top Bottom