Realistic Foreskin & Erection Simulation

Plugins + Scripts Realistic Foreskin & Erection Simulation

Download [<1 MB]
What is "Awas AutoJuice"? Plugin? No i haven't use it. Only plugin that both girl and dude have - Embody.
Or it's some config from your plugins?
Yes, AutoJuice it a fluid plugin that can interact with my plugin and uses colliders to achieve the cum spray. My plugins however do not change colliders nor do they interact with any morphs of the mouth of other atoms. Could you please a video with step by step how to reproduce the peoblem? I have never seen or heard about similar problems.
PS: Just tested on my side an did not experience any strange mouth morphs, except opening if close enough (which is intended).
 
Last edited:
Regarding your request: Could you please document how this would be used? I cannot see the difference/advantage of using these Joint Drive X angles over the existing sliders yet. Maybe include a screenshot of how it sould look in the end.
This might be purely aesthetic preference. The existing curve up/down slider seems to mostly happen near the tip, while having mid Joint Drive X incorporates the middle a bit more. Having both active together doesn't seem bad either, but I usually end up increasing mid Joint Drive X for erect, then having to return it for flaccid.

I mostly wanted to say thanks a lot for the update. The new version fixed all the issues I was having.
 
This might be purely aesthetic preference. The existing curve up/down slider seems to mostly happen near the tip, while having mid Joint Drive X incorporates the middle a bit more. Having both active together doesn't seem bad either, but I usually end up increasing mid Joint Drive X for erect, then having to return it for flaccid.

I mostly wanted to say thanks a lot for the update. The new version fixed all the issues I was having.
Thanks for reporting back, that helps a lot. And for your kind words on the recent update. I am glad that these errors seem to have stopped. There is more stuff coming in the near future.
 
RunRudolf updated Realistic Foreskin & Erection Simulation (Plugins) with a new update entry:

Fully Customizable Orgasm Sequences

- Orgasm is now configurable in terms of timing of up to four phases, fluid spray sequences and properties, as well as cum cloth type. Upon loading of the plugin, a standard sequence is loaded. Click on 'Customize Orgasm Sequence' to get to the new UI where all the parameters can be set and saved. Check the triggers in the main UI at 'Select Orgasm Trigger'.
View attachment 421106 View attachment 421107

- If you create a great sequence...

Read the rest of this update entry...
 
RunRudolf updated Realistic Foreskin & Erection Simulation (Plugins) with a new update entry:

Bugfixing

- Fixing a bug that prevented from saving fluid101 spray sequences. You can now compose your own orgasms, involving four individually configurable spray and jizz sequences with differing fluid properties and durations. Fluid sequences will now be properly saved.
- More flexibility in defining orgasm sequences: Added a no (cloth) jizz option (just fluids)
- Improved standard sequence with fluid sprays, jizz jets and synced throbbing
- Bugfix: First orgasm sequence not playing

Read the rest of this update entry...
 
Has anyone experience the distorted morph of the male genital when climax? testicle start spinning around and penis randomly increase and decrease?
I left the climax setting to the default one, didn't experience this in version 35.
 
Has anyone experience the distorted morph of the male genital when climax? testicle start spinning around and penis randomly increase and decrease?
I left the climax setting to the default one, didn't experience this in version 35.
I will have a look, but did not get any other similar feedback so far. Did you experience this in a clean default scene?

Add: Cannot reproduce the mentioned problem. Please provide some details about the circumstances, under which this happens.
 
Last edited:
Hi. Thanks for the plugin, it saves a ton of time.

I am having trouble running the last several versions. I'm not sure what the issue is. I believe I have all morphs. I use this on a female person with Stopper AltFuta 28. I did try on a fresh scene, but it happens there too.
The erection script spams this message:

!> RealisticErection.FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
at RunRudolf.RealisticErection.GetIntensity () [0x00000] in <filename unknown>:0
at RunRudolf.RealisticErection.FixedUpdate () [0x00000] in <filename unknown>:0

I also have a small feature request.
The Joint Drive X Angle on penisMidControl/TipControl is something I change often, probably maximum up to +30. I know there is a curve up/down slider already included but it behaves a bit different. Having access to those in the plugin would be nice, but I understand if it's not something you plan to include.

Thanks

Hey, sorry to reopen this can of worms but I am unfortunately encountering the same error even with a minimalist setup (meaning no new .vars in Addonpackage folder other than the base VaM ones and those required by your Demo Scenes Dependencies)

this is the exact the error message:
Code:
!> RealisticForeskin.FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at RunRudolf.RealisticForeskin.FixedUpdate () [0x00000] in <filename unknown>:0

which repeats infinitely every second until I disable "plugin#0_RunRudolf.RealisticForeskin"

Made sure to download the Morphs you suggested in the discussion, even loaded a separated scene to individually load every required plugins, even though I suppose your own demo scenes are already setup accordingly from the get go, and yet this error still persists.
 
Yup. I second that.

I wanted to finally test it and use it in our next collab. It seems compromised, the thing spams the error log all the time.
 
Sorry to bring this up again. After the plugin was working for me I noticed that performance went down a lot.
I'm using the newest version of foreskin script, but I went back to version 22 of erection script which doesn't have much performance impact.

Just a quick comparison for a few seconds of a dance scene:
25-40 fps new version
69-82 fps version 22
 
RunRudolf updated Realistic Foreskin & Erection Simulation (Plugins) with a new update entry:

New Clean UI & More Penis Decals

- Added five different color tones and normal map setups for penis decals, and a new switch to activate them with one click. Thanks to kemenate and bigscar for their decals and normal maps (see links in the credits). The presets can be edited in DecalMaker once loaded.
View attachment 437452
- New clean and structured UI with help for both plugins. The new UI consists of a main menu and contents are mostly on one page if possible.
[ATTACH type="full"...

Read the rest of this update entry...
 
Thank you for fixing (and not answering ;))

Several things:
  • Tabbing (general/erection/...), triggers silent critical errors in the console (erection sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing (general/foreskin/...), triggers silent critical errors in the console (foreskin sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing clears orgasm fields for the fluid (I'm not using it, but people might). This might be due to the silent crash above.
  • Loading decal presets crashes (from your plugin preset setup)
  • Loading decal presets crashes (from a clean manual plugin added to the male)
    • more or less, decal maker does not work

Side things (questions/suggestions, not mandatory you can ignore me if you have other things to do or it does not fit your design):
  • Could you make the log messages silent or at least only in edit mode? The choice of the creator NOT to use fluid/auto juice/decal marker does not concern the final user (the player) and creates more questions than it solves for anyone that is not a creator.
  • Would you consider implementing a similar thing as Divining Rod? It would be a blast to reduce the plugin footprint, and it would reduce the dependency count slightly to have all the algorithm handled by one plugin. Also, the plugin is not updated anymore, so maybe you'd have ideas to make it even better : )
  • Considering adding a "disable orgasm phase" to save on lookups... I want to use and configure the fluid myself and don't want the plugin to override it. I have no way to do that atm.
 
Last edited:
Thank you for fixing (and not answering ;))

Several things:
  • Tabbing (general/erection/...), triggers silent critical errors in the console (erection sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing (general/foreskin/...), triggers silent critical errors in the console (foreskin sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing clears orgasm fields for the fluid (I'm not using it, but people might). This might be due to the silent crash above.
  • Loading decal presets crashes (from your plugin preset setup)
  • Loading decal presets crashes (from a clean manual plugin added to the male)
    • more or less, decal maker does not work

Side things (questions/suggestions, not mandatory you can ignore me if you have other things to do or it does not fit your design):
  • Could you make the log messages silent or at least only in edit mode? The choice of the creator NOT to use fluid/auto juice/decal marker does not concern the final user (the player) and creates more questions than it solves for anyone that is not a creator.
  • Would you consider implementing a similar thing as Divining Rod? It would be a blast to reduce the plugin footprint, and it would reduce the dependency count slightly to have all the algorithm handled by one plugin. Also, the plugin is not updated anymore, so maybe you'd have ideas to make it even better : )
  • Considering adding a "disable orgasm phase" to save on lookups... I want to use and configure the fluid myself and don't want the plugin to override it. I have no way to do that atm.
Wow, that's quite a list...Thank you for testing and putting this together, I will have to look into it.
Sorry for not responding: I seem to miss new discussions because I do not get notifications althouth I am "watching".
 
Thank you for fixing (and not answering ;))

Several things:
  • Tabbing (general/erection/...), triggers silent critical errors in the console (erection sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing (general/foreskin/...), triggers silent critical errors in the console (foreskin sub plugin) - Use Acid's Dev tools forward logs to check it out
  • Tabbing clears orgasm fields for the fluid (I'm not using it, but people might). This might be due to the silent crash above.
  • Loading decal presets crashes (from your plugin preset setup)
  • Loading decal presets crashes (from a clean manual plugin added to the male)
    • more or less, decal maker does not work

Side things (questions/suggestions, not mandatory you can ignore me if you have other things to do or it does not fit your design):
  • Could you make the log messages silent or at least only in edit mode? The choice of the creator NOT to use fluid/auto juice/decal marker does not concern the final user (the player) and creates more questions than it solves for anyone that is not a creator.
  • Would you consider implementing a similar thing as Divining Rod? It would be a blast to reduce the plugin footprint, and it would reduce the dependency count slightly to have all the algorithm handled by one plugin. Also, the plugin is not updated anymore, so maybe you'd have ideas to make it even better : )
  • Considering adding a "disable orgasm phase" to save on lookups... I want to use and configure the fluid myself and don't want the plugin to override it. I have no way to do that atm.
@hazmhox: The one with Decal Maker is a bit strange, since I tested the hub version on a clean character too and it worked. But I will anyways expand the decals section with the next update (I will add more decal textures - working on them now - to get more variety and a flexible combination system including normals) and also move the entire decal stuff to the foreskin plugin (where it makes more sense).
Out of interest: Do you have a full step by step debug environment setup to catch those nasty missing references, or how do you do your bugfixing?
 
Sorry for not responding: I seem to miss new discussions because I do not get notifications althouth I am "watching".

Yeah I have that too, I've reported it to Ash.


Out of interest: Do you have a full step by step debug environment setup to catch those nasty missing references, or how do you do your bugfixing?

Nothing crazy:
  • 1 working/playing VAM (everything is in there)
  • 1 clean VAM (only required vars to test new content, cleaned over time)
  • HZMDemos which includes all the demo scenes for my content
  • Acid's dev tools + forward log always loaded
From there after I pack a .var
  • Full test of the asset/plugin in my working VAM. One test clean (manually use of content or plugin). One test with existing scenes or demos if there are some. Test of most critical features ( preset systems, save system, multi-dependencies interactions etc )
  • Full test of the asset/plugin in my clean VAM. Same process.
I also tend to test a "download" process in the clean VAM without installing manually. I suspect the error reported above I had (the fixedupdate error) was due to you forgetting to mention a required dependency, which is fixed in the new one and tells you it's required.

I'd ensure that a content used in the plugin is always considered a hard dependency (not soft/sub-dep) to avoid that sort of stuff. Even with the background I have with VAM, I did not realize I was missing a sub-dependency. So imagine a noob : )

Btw, critical errors "you're missing this, it's mandatory to have it"... use SuperController.singleton.Alert if the user is in edit mode. It is critical, the plugin will not work... so it's not really a problem to popup a big window instead of a short log that disappears before you could even read the full message.
 
Yeah I have that too, I've reported it to Ash.




Nothing crazy:
  • 1 working/playing VAM (everything is in there)
  • 1 clean VAM (only required vars to test new content, cleaned over time)
  • HZMDemos which includes all the demo scenes for my content
  • Acid's dev tools + forward log always loaded
From there after I pack a .var
  • Full test of the asset/plugin in my working VAM. One test clean (manually use of content or plugin). One test with existing scenes or demos if there are some. Test of most critical features ( preset systems, save system, multi-dependencies interactions etc )
  • Full test of the asset/plugin in my clean VAM. Same process.
I also tend to test a "download" process in the clean VAM without installing manually. I suspect the error reported above I had (the fixedupdate error) was due to you forgetting to mention a required dependency, which is fixed in the new one and tells you it's required.

I'd ensure that a content used in the plugin is always considered a hard dependency (not soft/sub-dep) to avoid that sort of stuff. Even with the background I have with VAM, I did not realize I was missing a sub-dependency. So imagine a noob : )

Btw, critical errors "you're missing this, it's mandatory to have it"... use SuperController.singleton.Alert if the user is in edit mode. It is critical, the plugin will not work... so it's not really a problem to popup a big window instead of a short log that disappears before you could even read the full message.
Thanks, that is helpful for me. I debug and release essentially the same way as you, I also keep a clean VAM to test for missing references bugs and also try both the packaged .var and the downloaded .var usually.

How do I ensure some morphs used by the plugin (out of a morph repack) are considered a hard dependency? Do I need to add them manually to the dependencies file? I was not aware of this (still being quite a noob myself :)
Yeah I have that too, I've reported it to Ash.




Nothing crazy:
  • 1 working/playing VAM (everything is in there)
  • 1 clean VAM (only required vars to test new content, cleaned over time)
  • HZMDemos which includes all the demo scenes for my content
  • Acid's dev tools + forward log always loaded
From there after I pack a .var
  • Full test of the asset/plugin in my working VAM. One test clean (manually use of content or plugin). One test with existing scenes or demos if there are some. Test of most critical features ( preset systems, save system, multi-dependencies interactions etc )
  • Full test of the asset/plugin in my clean VAM. Same process.
I also tend to test a "download" process in the clean VAM without installing manually. I suspect the error reported above I had (the fixedupdate error) was due to you forgetting to mention a required dependency, which is fixed in the new one and tells you it's required.

I'd ensure that a content used in the plugin is always considered a hard dependency (not soft/sub-dep) to avoid that sort of stuff. Even with the background I have with VAM, I did not realize I was missing a sub-dependency. So imagine a noob : )

Btw, critical errors "you're missing this, it's mandatory to have it"... use SuperController.singleton.Alert if the user is in edit mode. It is critical, the plugin will not work... so it's not really a problem to popup a big window instead of a short log that disappears before you could even read the full mess
 
How do I ensure some morphs used by the plugin (out of a morph repack) are considered a hard dependency? Do I need to add them manually to the dependencies file? I was not aware of this (still being quite a noob myself

The way VAM consider you have dependencies is by looking up if you have .var references.
Simply having a full name inside "something" (a preset, a scene, a plugin...) would trigger the dependency system.

I think you would simply add a static string variable with a var name, it would think it's a dependency : )
 
The way VAM consider you have dependencies is by looking up if you have .var references.
Simply having a full name inside "something" (a preset, a scene, a plugin...) would trigger the dependency system.

I think you would simply add a static string variable with a var name, it would think it's a dependency : )
That makes big sense, but: My .cs file does contain a link to a (non base) morph file by WeebU in form of path to the .vmi:
1733507366119.png

and there is also a link to this package:
1733507524711.png

however, this morph is not recognised in the dependencies list by the hub apparently:
1733507301749.png

Do I have to do this differently for morphs to be recognised as a mandatory dependency?
Thanks for your help again.
BWT: Working on your suggestions from above...
 
Do I have to do this differently for morphs to be recognised as a mandatory dependency?
Thanks for your help again.
BWT: Working on your suggestions from above...

Umh! Then It might have been my json databases that produced that effect.

Try this: create a json file, whatever you want as a name in one of the plugin folder (probably hidden in a sub folder to avoid people using it) like "force-dependencies.json" and inside, put a base json like this

Code:
{
    "something.something.3.var/pathtosomething",
    "stuff.stuff.5.var/pathtosomething",
}
 
Btw, you won't do anything with the file. You're just creating it to force the package manager to trigger the hard dependencies.
 
Umh! Then It might have been my json databases that produced that effect.

Try this: create a json file, whatever you want as a name in one of the plugin folder (probably hidden in a sub folder to avoid people using it) like "force-dependencies.json" and inside, put a base json like this

Code:
{
    "something.something.3.var/pathtosomething",
    "stuff.stuff.5.var/pathtosomething",
}
Good idea. This one works (but only with this format with colon):
1733516499779.png

If I pack this into my .var, the morphs are put to the references list.
 
RunRudolf updated Realistic Foreskin & Erection Simulation (Plugins) with a new update entry:

Lots of Bugfixing & Flexible Penis Look Configurator

Expanded Penis Decal System
-Moved penis decal system to foreskin plugin - makes more sense there
- You can now choose from three different penis textures, plus 10 glans/testes color tones, plus 10 normal maps. Combine at will!

View attachment 438627

Lots of Bugs Fixed
- Silent critical errors fixed while changing UI menu tabs (both plugins)
- Orgasm sequences now remain when changing UI menu tabs (erection plugin)
- Fixed penis decal loading from presets...

Read the rest of this update entry...
 
Back
Top Bottom