• 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.

Possible to add collider to outer ring, but not the center?

StardustVR

Active member
Joined
Aug 3, 2023
Messages
56
Reactions
108
Hey, guys. Quick question - hopefully I can explain this. I'm creating a scene that involves a ring, or hoop. Occasionally my model will enter it (think hula hoop, but not quite). I'm having a problem with clashing colliders. I can't disable collisions on the entire hoop when she enters it - I need the edge to collide with her. How do I set the edge of the hoop for collisions, but not the circle itself. Tried multiple ways in Unity - and it's likely simple, but darned if I can figure it out. Thanks for any help you can give!
 
Last edited:
Your description isn't particulary clear. A picture of the thing might help. While in VaM Desktop mode press WIN+SHIFT+S (opens a Windows tool), drag a box for a portion of the screen, which takes a screenshot of that area....CTRL+V here in your forum post.
(Fun fact: It also creates an entry in the windows notifcations bar, you can click that, which opens a window where you can paint into the screenshot to highlight things, etc.)


Anyway, potentially you may want to try arranging a ring of overlapping capsule colliders? If you can code its probably easier to code a little script to arange them for you, rather than arranging by hand.
 
Your description isn't particulary clear. A picture of the thing might help. While in VaM Desktop mode press WIN+SHIFT+S (opens a Windows tool), drag a box for a portion of the screen, which takes a screenshot of that area....CTRL+V here in your forum post.
(Fun fact: It also creates an entry in the windows notifcations bar, you can click that, which opens a window where you can paint into the screenshot to highlight things, etc.)


Anyway, potentially you may want to try arranging a ring of overlapping capsule colliders? If you can code its probably easier to code a little script to arange them for you, rather than arranging by hand.


I'll be away from PC for a day or 2 so can't grab the pic now, but how would you add collision to a hula hoop? Where it needed to spin around the model, but bounce off of her when it contacts her? Whatever would work for that would work for me. Thanks!
 
Where it needed to spin around the model, but bounce off of her when it contacts her?
You can try, and it depends on what kind of visual quality you like to achieve, but VaM's physics simulation is not really suited for this. Doing it as synchornized animation of the hula hoop and the character will yield significantly better results, at significantly better performance as well.
 
You can try, and it depends on what kind of visual quality you like to achieve, but VaM's physics simulation is not really suited for this. Doing it as synchornized animation of the hula hoop and the character will yield significantly better results, at significantly better performance as well.
OK - that's what I'm kinda finding, myself. I'll just have to keep tweaking. Thanks for the help.
 
Back
Top Bottom