• Hi Guest!

    Please be aware that we have released a critical security patch for VaM. We strongly recommend updating to version 1.22.0.7 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
QuickCloner

Multi-Level Atom + component cloning.

edit: NOT meant for Person Atoms

edit: Person Atoms Supported (collision disabled on Person clone instance)
If that's a requested use case, I can look into it. But this was mainly meant for UI type Atoms.


As promised, another free plugin / one of the building blocks created on the way to SimpleStateMachine.

I am not much of a salesman, so here's a brief description, and a video.

Description:
It attempts to clone the attached atom along with its children.

How deep it goes, I'm not sure. How accurate it is - also not sure.

Q: What happens if you hit "clone" twice on the same instance, without first renaming the already-existing clone and/or its children?
A: Undefined.

Have fun.

P.S. If using just to build your scene / environment / UI, there's no need to leave the plugin attached in attempts to give credit.

Copy/Pasta of Most Recent Update:

  • Improved positioning of cloned Atoms.
  • Fixed an off-by-one bug, where components restoration was misaligned.
    • eg. previously only A and/or B in the tree would have restored correctly (2nd video).
  • Removed "control" object from restoration, and used constant offset (0.3f away from original Atom position, in all directions)
Added specific functionality to allow usage on Persons.
- Cloned Person Atom collision is immediately turned off

Known limitations:

  • Component restoration isn't accurate in all cases.
    • Basically, the more components / deeper you go, the more likely a misalignment occurs.
    • Custom and Script components on persons are iffy even at the 1st level
      • As such can be done with other native means and/or plugins, it's not on the drawing board to make this a key feature of the plugin.
    • Atom trees of 3+ height may be cloned as deep as the tree goes, but components will start misaligning, almost guaranteed after the 2nd level.
      • Again, wasn't really an outcome required by the larger plugin most of this code was pulled from, so likely not something I'd stop my current development for to work on.
All that said, as per the license, feel free to build upon it - find better ways in its context to restore plugins and Person components, and release on top of it.
The current state of it (v4) is more a remnant, than the path I will be focused on for the next month at least.
  • VaM 2025-01-20 13-14-03.mp4
    11 MB
  • VaM 2025-01-21 10-12-06.mp4
    3.8 MB
Author
entitycs
Downloads
392
Views
1,629
Favorites
4
Packages
1
Total Size
0.01 MB
Version
4
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from entitycs

Latest updates

  1. Bug Fix and Feature Update

    Improved positioning of cloned Atoms. Fixed an off-by-one bug, where components restoration was...
Back
Top Bottom