addLocalRotModifier
open fun addLocalRotModifier(@NotNull predicate: @NotNull BonePredicate, @NotNull mapper: @NotNull (Quaternionf) -> Quaternionf): Boolean
Adds a local rotation modifier to bones matching the given predicate.
pipeline.addLocalRotModifier(BonePredicate.name("head"), rot -> rot.rotateX(0.1f));
Content copied to clipboard
Return
true if any matching bones were modified, false otherwise
Since
3.0.0
Parameters
predicate
the predicate to select bones
mapper
the local rotation mapping function
Throws
if predicate or mapper is null