Home Creators Posts Import Register Favorites Logout

Content

Please use this plugin to replace the original plugin for my character card.

https://1drv.ms/u/c/c32587591f1330bb/IQDzKDZtS2PrS5WM8Hmfi9xDAZTZGCplbF1uEFRhNkDfGBg?e=hDkoRk

# NodesConstraints 1.6.25 for Koikatsu / CharaStudio


NodesConstraints is a BepInEx plugin for linking Studio objects, character bones, and the scene camera through position, rotation, scale, and look-at constraints.


This release is a compatibility-focused refactor of the extended NodesConstraints fork. It keeps the original plugin GUID and legacy scene-card model while making constraint evaluation, scene operations, Timeline integration, and old-card loading more deterministic.


## What has improved over older/original builds


### Reliable old scene-card rotation


- Ordinary rotation constraints saved by XML versions up to 1.6.2 rebuild their parent/child reference frame immediately before the first real solve.

- This prevents old camera and object constraints from snapping or slowly drifting toward a rotation calculated with obsolete reference semantics.

- The compatibility path is deliberately narrow: it applies only to `rotation=true` and `lookAt=false`. Position, scale, real Look At constraints, newly created constraints, and the source XML are not modified.


### More deterministic evaluation timing


- Update/Timeline evaluation and the final LateUpdate or PreCull pass share one per-frame damping snapshot.

- A constraint may be recalculated with fresher parent input later in the frame, but damping advances only once.

- PreCull mode remains available for render-time transform pinning, while LateUpdate remains the default for setups that require Studio/FK publication behavior.

- Duplicate final-pass execution in the same frame is guarded against.


### Safer damping and transitions


- Position, rotation, scale, connection smoothing, and disconnection smoothing now use consistent frame state across multiple evaluation passes.

- Re-evaluating a target later in the same frame no longer integrates damping twice.


### Atomic “Use current”


- Parent and child transforms are captured as one complete snapshot.

- All requested offsets are calculated before anything is committed.

- If either endpoint becomes invalid, the operation fails without leaving a partially updated position, rotation, or scale channel.


### Stronger Timeline, Load, Import, and Duplicate handling


- Timeline lookup no longer consumes a constraint's saved identity, so several tracks can safely resolve the same constraint.

- Delayed callbacks are tied to a scene-operation generation. Work queued by an older Load, Import, or Duplicate operation cannot mutate a newer scene.

- Import and Duplicate use a frozen mapping for that operation instead of consulting a global map that may have changed several frames later.

- Invalid individual records are skipped without aborting all remaining constraints.


### Lower hot-path allocation pressure


- The core constraint-solving entry points were refactored to avoid collection/array allocation and LINQ in the per-frame solve path.

- Constraint order and identity tracking use stable reusable structures instead of rebuilding transient lists during evaluation.


### Optional world-space position offset


- Position constraints now provide an opt-in **World offset** mode.

- In this mode the stored offset is a world-space vector: the child follows parent translation while ignoring parent rotation and scale.

- Toggling the mode recaptures the offset from the current pose, preventing an immediate jump.

- The mode is preserved by Update Selected and Duplicate and is supported by connection/disconnection smoothing.

- Old cards do not silently opt into this behavior; the missing field always means the legacy local-space mode.


### UI cleanup


- The World offset control is placed beside InSmooth/OutSmooth, avoiding the narrow Position options row that previously forced “Change factor” into a vertical label.


## Compatibility notes


- Plugin GUID: `com.joan6694.illusionplugins.nodesconstraints` (unchanged).

- Existing cards without the new `positionOffsetWorldSpace` field retain local-offset behavior.

- Cards saved with World offset enabled are not fully backward-compatible with older plugin builds: older builds ignore the flag and interpret the stored vector as a local offset.

- Constraints are evaluated in saved/UI list order. Reverse dependency chains, multiple writers, and cycles may therefore differ from builds that internally applied automatic topological sorting.

- This release does not alter Rope, Timeline, BetterScaling, or SceneImportCompatibility geometry.


## Requirements


- Koikatsu CharaStudio

- BepInEx 5.x (5.4.21 or newer recommended)

- KKAPI / Modding API 1.42 or newer


## Installation


1. Exit CharaStudio completely.

2. Back up the currently installed `BepInEx\plugins\NodesConstraints.dll` and its configuration file.

3. Make sure there is only one `NodesConstraints*.dll` under `BepInEx\plugins`; renamed DLL files are still loaded by BepInEx.

4. Extract `NodesConstraints-v1.6.25.zip` into the Koikatsu game directory, preserving the `BepInEx\plugins` path.

5. Start CharaStudio. The default shortcut for the NodesConstraints window is `Left Ctrl + I`.


To roll back, exit CharaStudio and restore the DLL you backed up before installation.

Comments

No comments found for this post.