• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
CuaGpuColliders

Plugins + Scripts CuaGpuColliders

Download [0.15 MB]

Foost

Well-known member
Joined
Sep 23, 2024
Messages
58
Reactions
380
Foost submitted a new resource:

CuaGpuColliders - Adds GPU colliders to CUA objects, allowing them to interact with clothes and hair

A simple plugin that enabled CUA atoms to collider with VAM clothing and hair.

To use the plugin, just add CuaGpuColliders.clist to a CUA atom.

When attached to a CUA atom, it automatically creates GPU colliders for any sphere and capsule colliders it can find in the asset.
It will do nothing if the asset has only box or mesh colliders, those are not supported by GPU colliders.

The plugin has nothing to configure, but you can check its custom UI for an overview...

Read more about this resource...
 
any chance for a session plugin to automatically add this to cuas? Great plugin btw
 
Any chance this could also work for colliding with floors?

VAM's GPU colliders work only with sphere and capsule colliders. Unfortunately floors will most likely use box colliders, or even worse, probably just one big mesh collider for the whole asset.

At some point I'd like to create another addon that would let you place GPU colliders freely, including a grid of capsules roughly approximating a box. But you'd have to place those manually.
 
any chance for a session plugin to automatically add this to cuas? Great plugin btw

I am personally not a fan of those "add to everything" plugins. Especially since this addon won't work with way too many CUAs which just slap one mesh collider onto everything. But maybe one day...
 
I noticed it's not compatible with Stopper's CUA Controllers. I'm guessing it has something to do with how Stopper handles the CUA, as there's a noticable asset reload when initializing it.
This is the error message your plugin throws:
!> CustomUnityAsset: Expected the CUA object to have one active child with the loaded asset, but it has 2 childern in total and at least two active.
I don't know how much work it'd be to fix. Since honestly, Stopper's plugin is still experimental. So might not be worth the time fixing it for now.
 
I noticed it's not compatible with Stopper's CUA Controllers. I'm guessing it has something to do with how Stopper handles the CUA, as there's a noticable asset reload when initializing it.
This is the error message your plugin throws:

I don't know how much work it'd be to fix. Since honestly, Stopper's plugin is still experimental. So might not be worth the time fixing it for now.

Thanks for the report. I'll at least have a look if I find some time. This error message means that there are multiple objects loaded in the CUA hierarchy when I get the notification about asset change, so my plugin has no idea which one to use for the GPU colliders. This happens even with the normal VAM's CUA loader when switching assets from one assetbundle. I implemented a workaround for that, so it might be not so hard to extend it for this case, who knows. I wanted to play some more with his plugins anyway :)
 
Hey!
I've been struggling with CUA hair, going through models, and I thought your plugin might do the trick.
On paper, I just have to open the hair asset bundle in Unity, add a capsule collider, save the changes, and be done with it. But oh boy, extracting the asset bundle and using Unity aren't that simple! So I'm wondering if you've got a simpler way to add a collider so my CUA hair acts as intended.
 
Hey!
I've been struggling with CUA hair, going through models, and I thought your plugin might do the trick.
On paper, I just have to open the hair asset bundle in Unity, add a capsule collider, save the changes, and be done with it. But oh boy, extracting the asset bundle and using Unity aren't that simple! So I'm wondering if you've got a simpler way to add a collider so my CUA hair acts as intended.
Not really, no. But also this plugin is all about adding GPU colliders to existing standard colliders, that won't help you with CUA hair at all I am afraid. Unless you need character clothes or non-CUA hair to collide with your CUA hair, that's all GPU colliders are about. Also GPU colliders can't receive any physics impulses, they just move with the colliders they are create from, and then cloth/hair collide with them, that's all.
 
Back
Top Bottom