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

Scenes Chain Physics Fun

Joined
Jul 17, 2023
Messages
300
Reactions
681
Spankimus submitted a new resource:

Chain Physics Fun - Working extendable and reduceable chains

Made this example scene for the chains and cuffs asset that I've posted. Chains can be moved up and down on the buttons. Also contains spanking code from OTK and Tamsin scenes and usual Body Language stuff. Found it a lot of fun being able to move these chains up and down and shows how well VaM's physics can really work if someone can create good assets. I'd love to move into this area but I couldn't even get Unity installed so I've got no hope! Took long enough to work out how the hell...

Read more about this resource...
 
99 dependencies is kind of out of control.
Tell me about it. I removed 30 dependencies from the JSON before uploading - just literally ripped them out of the code. At least half the dependencies it's listing are nothing to do with the scene in any way. I've zeroed all the morphs, changed the model to standard and it STILL insists that you need all these dependencies. You don't need them. It's the dependency system that is out of control. I can try to rip some more out that it clearly doesn't need but honestly I'm sick of the whole system being so tetchy, it's at the point where all the dependencies are on the hub, well so be it.
 
That's the system we have now. What helps is to go through all the "accessories" in the scene, hair, clothes and so on that might have been used in another scene. Make sure from the list that you're getting it from the original creator, not some random scene. Morphs can do this too. I'd also suggest switching out the 8K skin texture. You don't need that to demo some chains.
 
I get a repeating error upon loading the scene, and the chains are 'streched':

Exception during RestoreFromLast of plugin#0_ProceduralChainV2: System.NullReferenceException: Object reference not set to an instance of an object
at ProceduralChainV2.UpdateChainLinksButtonCallback () [0x00000] in <filename unknown>:0
at ProceduralChainV2.ChainLinkCountCallback (.JSONStorableFloat jf) [0x00000] in <filename unknown>:0
at JSONStorableFloat.InternalSetVal (Single f, Boolean doCallback) [0x00000] in <filename unknown>:0
at JSONStorableFloat.set_val (Single value) [0x00000] in <filename unknown>:0
at JSONStorableFloat.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0
 
That's the system we have now. What helps is to go through all the "accessories" in the scene, hair, clothes and so on that might have been used in another scene. Make sure from the list that you're getting it from the original creator, not some random scene. Morphs can do this too. I'd also suggest switching out the 8K skin texture. You don't need that to demo some chains.
I'll have a go again see if I can reduce it, but honestly it's referencing clothing that's not in use, assets that have never been in the scene and all sorts of crap - the dependency system is so broken, it can't possibly need all that stuff and I have no idea how any of it is getting dragged in and referenced. I'll try to eek out what I can, normally all I do is actually go through the json manually and just delete stuff it clearly doesn't need and everything still works fine, so it very clearly is including stuff it should not. As I say, as long as it's all on the hub, who really cares?
 
I get a repeating error upon loading the scene, and the chains are 'streched':

Exception during RestoreFromLast of plugin#0_ProceduralChainV2: System.NullReferenceException: Object reference not set to an instance of an object
at ProceduralChainV2.UpdateChainLinksButtonCallback () [0x00000] in <filename unknown>:0
at ProceduralChainV2.ChainLinkCountCallback (.JSONStorableFloat jf) [0x00000] in <filename unknown>:0
at JSONStorableFloat.InternalSetVal (Single f, Boolean doCallback) [0x00000] in <filename unknown>:0
at JSONStorableFloat.set_val (Single value) [0x00000] in <filename unknown>:0
at JSONStorableFloat.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0
That really looks like it has not loaded the chains dependency I would say, make sure you load all dependencies from the hub and especially make sure you have this one: https://hub.virtamate.com/resources/cuff-and-chains.48132/
 
Back
Top Bottom