• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. 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.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
Realistic Foreskin & Erection Simulation

Plugins + Scripts Realistic Foreskin & Erection Simulation

Download [1.09 MB]
With plugin defaults:
(If I disable RealisticErection totally, errors stop spamming)
I do not experience any problems with my plugins plus Stopper.AlternativeFuta.28 on female atoms. Please provide more details to reproduce the problem and check the dependencies.
 
@RunRudolf amazing update! I love the new expression morphs feature, it's very cool and adds a lot. Exactly what I had in mind. The pulsing morphs look GREAT too - you nailed it. Fantastic work, thank you so much!

I do have one other idea as I've been playing with it. Your solution for hiding/undressing with the sort of 'tuck and unfold' is great. But there are some underwear pieces for both males and altfutas that do have enough room for the penis to fit without clipping when it's flaccid. Clipping is worst when the penis is erect because the cloth can't exert any forces on it, so it stands straight out from the body and the clothing has to 'stretch' with it. It seems like you have something going on in REF that forces the penis to but 'tucked' up against the body whether flaccid or erect, then 'undress' triggers the 'unfolding'. It's a great effect as-is. But - what I'm wondering is if we could have the option to still do the 'tuck and unfold', but NOT hide the gens material. So when the clothing item is attached, the penis is 'tucked' whether erect or not, and only unfolds when undressing, but is still technically visible. This would be nice with underwear or bottoms that have enough room for a flaccid penis, but have clipping issues with erections. You'd get the benefits of sim clothing that could bulge more when the character has an erection, but have far fewer clipping issues since the erection wouldn't be pointing straight out. Just having 3 checkboxes instead of 2 would do the trick - right now it's Hide Material and Sim Undress, you could just add one called 'Tuck Penis' that would activate your system exactly as-is but not hide the gens material. Then the user would have the power to use the system but choose whether or not the material is hidden.

That's my final idea (for now, I guess, haha). REF is such a great plugin - I've had no errors in a while with new scenes. Thanks again for all your hard work!
 
@RunRudolf amazing update! I love the new expression morphs feature, it's very cool and adds a lot. Exactly what I had in mind. The pulsing morphs look GREAT too - you nailed it. Fantastic work, thank you so much!

I do have one other idea as I've been playing with it. Your solution for hiding/undressing with the sort of 'tuck and unfold' is great. But there are some underwear pieces for both males and altfutas that do have enough room for the penis to fit without clipping when it's flaccid. Clipping is worst when the penis is erect because the cloth can't exert any forces on it, so it stands straight out from the body and the clothing has to 'stretch' with it. It seems like you have something going on in REF that forces the penis to but 'tucked' up against the body whether flaccid or erect, then 'undress' triggers the 'unfolding'. It's a great effect as-is. But - what I'm wondering is if we could have the option to still do the 'tuck and unfold', but NOT hide the gens material. So when the clothing item is attached, the penis is 'tucked' whether erect or not, and only unfolds when undressing, but is still technically visible. This would be nice with underwear or bottoms that have enough room for a flaccid penis, but have clipping issues with erections. You'd get the benefits of sim clothing that could bulge more when the character has an erection, but have far fewer clipping issues since the erection wouldn't be pointing straight out. Just having 3 checkboxes instead of 2 would do the trick - right now it's Hide Material and Sim Undress, you could just add one called 'Tuck Penis' that would activate your system exactly as-is but not hide the gens material. Then the user would have the power to use the system but choose whether or not the material is hidden.

That's my final idea (for now, I guess, haha). REF is such a great plugin - I've had no errors in a while with new scenes. Thanks again for all your hard work!
Great idea, thanks for the feedback and suggestions. Always happy to get new inspirations!

Could you indicate me which underwear are sim and have enough room for the (flaccid) penis? I did not encounter any except for Jackaroo's Sweatpants SIM. These can however not be undressed with sim effect I believe.

The routine in REF detects whether a clothing item is put on with the "Disable Anatomy" (male) or "Adjust Glutes" (alt futa) property active (these are clothing item properties saved with the clothing item). If the "Hide / unhide" check box is active, the penis is both hidden, but also made smaller and closer to the body until sim undress is activated or the clothing is removed. After undressing or removing the clothing item there is a small animation which resets the penis to the state before putting the cloth on.

The point why I need to do this (ugly) workaround with the "Adjust Glutes" property is that in VaM there is no property to clothing items which says that it is a pant or underwear (or specifies the body region were it is worn). That's why I save the "Adjust Glutes" bool to the chosen pant (in case of altfuta) to indicate that this piece is a pant/underwear which will affect the penis. The penis should not disappear if you put on a shirt or shoes afterall...

I think this mechanic could be complemented with a mode where the penis folds/reduces in size, but is still visible. The only problem is that there is no clothing property left to store this info to, so if users activated this, it would be active in general (for all clothes), which means it would prevent "Disable Anatomy" even in case of non sim clothing - which will give you the ugly clipping. Or do you have any better idea?
 
Great idea, thanks for the feedback and suggestions. Always happy to get new inspirations!

Could you indicate me which underwear are sim and have enough room for the (flaccid) penis? I did not encounter any except for Jackaroo's Sweatpants SIM. These can however not be undressed with sim effect I believe.

The routine in REF detects whether a clothing item is put on with the "Disable Anatomy" (male) or "Adjust Glutes" (alt futa) property active (these are clothing item properties saved with the clothing item). If the "Hide / unhide" check box is active, the penis is both hidden, but also made smaller and closer to the body until sim undress is activated or the clothing is removed. After undressing or removing the clothing item there is a small animation which resets the penis to the state before putting the cloth on.

The point why I need to do this (ugly) workaround with the "Adjust Glutes" property is that in VaM there is no property to clothing items which says that it is a pant or underwear (or specifies the body region were it is worn). That's why I save the "Adjust Glutes" bool to the chosen pant (in case of altfuta) to indicate that this piece is a pant/underwear which will affect the penis. The penis should not disappear if you put on a shirt or shoes afterall...

I think this mechanic could be complemented with a mode where the penis folds/reduces in size, but is still visible. The only problem is that there is no clothing property left to store this info to, so if users activated this, it would be active in general (for all clothes), which means it would prevent "Disable Anatomy" even in case of non sim clothing - which will give you the ugly clipping. Or do you have any better idea?

Interesting. I see what you mean, but I don't think that you need a property to store whether the penis is actually hidden. I think the system works great as it is - just allow the user to select if the material is actually hidden or not. So - the Adjust Glutes/Disable Anatomy property simple toggles the fold/reduce mechanic. In REF, call that checkbox (currently 'Hide Material') something like Restrain Penis. Move the actual material hiding to its own checkbox that only does that. If the piece of clothing in question has clipping issues, the user can just hide the material and it works exactly like it has. However, the user may be using something like...


all of which have decent sim that works with smaller cocks but can have clipping issues because they can't constrain the penis via physics. I'm working on making my own sim undies for altfuta characters that look like actual normal men's underwear for myself and other users who use an altfuta character with the G2M morphs to create a male character with all the physics and plugin benefits of female atoms.

That makes sense to me - hope it comes across clearly. Am I missing something?
 
Interesting. I see what you mean, but I don't think that you need a property to store whether the penis is actually hidden. I think the system works great as it is - just allow the user to select if the material is actually hidden or not. So - the Adjust Glutes/Disable Anatomy property simple toggles the fold/reduce mechanic. In REF, call that checkbox (currently 'Hide Material') something like Restrain Penis. Move the actual material hiding to its own checkbox that only does that. If the piece of clothing in question has clipping issues, the user can just hide the material and it works exactly like it has. However, the user may be using something like...
Thanks for the clothing links, I will check the free ones. The CK_Boxers_01 do not seem to work however, the kind of do not attach correctly to the skin.

Regarding the "property to store or not" point: In VaM, the system to hide the penis on males is determined by wearing pants (or underwear) with the DisableAnatomy property set to "true". This is a property that is attached to each clothing item - typically "true" for pants, underwear etc, and "false" for shirts, hats, socks, etc. This makes sense, because the penis should only be hidden if clothing items are worn covering the genitals.

To my knowlege there is no other way to hide or unhide the penis on males but to go through all active clothing items and check whether there is one with DisableAnatomy = "true", and then et this to "false" if you want the penis to be shown. If any one item has DisableAnatomy = "true", the penis will be hidden (even if it's a hat :). BTW: The Mbriefs by maru01 you linked already have the DisableAnatomy property set to "false" by default to allow for the sim effects without hiding the penis.

Or are you talking about alt futa?

On alt futa, the DisableAnatomy property unfortunately does not work, probably because the entire genital is added by Stopper's plugin. I therefore use the Adjust Glutes property (also attached to each clothing item) and Stopper's "hide material" property to automatically hide the penis when an alt futa is wearing underwear/pants with the Adjust Glutes property = "true". The ugly side effect is that larger parts around the penis are hidden too and leave a black hole which can be seen often with smaller underwear. I also think there is no way to make an unhidden penis work for clothing items like AWWalkers boxers you mentioned - no matter how flaccid or small the penis is, it will not be covered by the clothing item.

Or do you mean you want the fold/unfold system be separated from the hiding mechanism (on alt futa)?

After all of the above, I obviously still don't get exactly what effect you would like to achieve. So please, help me!
 
Thanks for the clothing links, I will check the free ones. The CK_Boxers_01 do not seem to work however, the kind of do not attach correctly to the skin.

Regarding the "property to store or not" point: In VaM, the system to hide the penis on males is determined by wearing pants (or underwear) with the DisableAnatomy property set to "true". This is a property that is attached to each clothing item - typically "true" for pants, underwear etc, and "false" for shirts, hats, socks, etc. This makes sense, because the penis should only be hidden if clothing items are worn covering the genitals.

To my knowlege there is no other way to hide or unhide the penis on males but to go through all active clothing items and check whether there is one with DisableAnatomy = "true", and then et this to "false" if you want the penis to be shown. If any one item has DisableAnatomy = "true", the penis will be hidden (even if it's a hat :). BTW: The Mbriefs by maru01 you linked already have the DisableAnatomy property set to "false" by default to allow for the sim effects without hiding the penis.

Or are you talking about alt futa?

On alt futa, the DisableAnatomy property unfortunately does not work, probably because the entire genital is added by Stopper's plugin. I therefore use the Adjust Glutes property (also attached to each clothing item) and Stopper's "hide material" property to automatically hide the penis when an alt futa is wearing underwear/pants with the Adjust Glutes property = "true". The ugly side effect is that larger parts around the penis are hidden too and leave a black hole which can be seen often with smaller underwear. I also think there is no way to make an unhidden penis work for clothing items like AWWalkers boxers you mentioned - no matter how flaccid or small the penis is, it will not be covered by the clothing item.

Or do you mean you want the fold/unfold system be separated from the hiding mechanism (on alt futa)?

After all of the above, I obviously still don't get exactly what effect you would like to achieve. So please, help me!

I see what you're saying. I guess what I'm envisioning would only work on altfutas, not on males, as the 'disable anatomy' hides the gens material no matter what.

What I'm really after is the ability to have a penis-having character get a visible erection while wearing clothes - 'pitching a tent' as they say. The scenes I make for myself (maybe someday I'll get around to releasing something) are LGBT+ and very story-driven, focusing on realism. Kind of like an IVN or dating sim but in VR and with a happy ending, haha. I like messing around with writing dialog, generating it with TTS and setting up realistic storylines and decision trees (think - date night, 'seduce the straight guy', that kind of stuff). I have a moment in the one I'm working on now where the character I'm interacting with gets an erection during a conversation that leads to sex, but he's still clothed. There are 'bulge' morphs for this but they're hard to work with when it comes to undressing and don't really look realistic. If you get the clothing sim JUST right, it works well, but not consistently. Hence the idea of being able to use the 'fold' mechanic in REF to constrain the erection somewhat but still have it affect the sim clothing. Hope that makes sense.

It's probably just not realistic in VAM to begin with - and it's a very fringe use-case. If you have any ideas, I'm all ears, but don't worry about it too much. Thanks for humoring me!
 
Hi, not sure if just me but it seems like throbbing has stopped working in the new update.
I have throbbing factor at full but penis seems to not moving at all.
 
Hi, not sure if just me but it seems like throbbing has stopped working in the new update.
I have throbbing factor at full but penis seems to not moving at all.
Hi, yes, there is an issue. Seems to stop during orgasm and does not kick back in after orgasm. Is that what you observe? Thanks!

EDIT: Will fix these issues with next update...
 
Last edited:
Back
Top Bottom