unreal.RelativeBodyBakeAnimNotify

class unreal.RelativeBodyBakeAnimNotify(outer: Object | None = None, name: Name | str = 'None')

Bases: RelativeBodyAnimNotifyBase

Baked relative body anim-notify storing all body relationships in single notify at anim start

C++ Source:

  • Plugin: RelativeIKOp

  • Module: RelativeBodyAnimInfo

  • File: RelativeBodyAnimNotifies.h

Editor Properties: (see get_editor_property/set_editor_property)

  • body_pairs (Array[Name]): [Read-Only]

  • body_pairs_is_parent_dominates (Array[bool]): [Read-Only]

  • body_pairs_local_reference (Array[Vector3f]): [Read-Only]

  • body_pairs_sample_time (Array[float]): [Read-Only]

  • notify_color (Color): [Read-Write] Color of Notify in editor

  • num_samples (int32): [Read-Only]

  • should_fire_in_editor (bool): [Read-Write] Whether this notify instance should fire in animation editors

on_relative_body_dense_notify(mesh_comp, animation, num_samples_in, body_pairs_in, body_pairs_sample_time_in, body_pairs_local_reference_in, body_pairs_is_parent_dominates_in) None

OnRelativeBodyDenseNotify interface for contact pair info

Parameters:
  • mesh_comp (SkeletalMeshComponent) – The source SkeletalMeshComponent

  • animation (AnimSequenceBase) – The current animation

  • num_samples_in (int32) – The number of samples in baked data

  • body_pairs_in (Array[Name]) – Array of body pairs

  • body_pairs_sample_time_in (Array[float]) – Array of sample times

  • body_pairs_local_reference_in (Array[Vector3f]) – Array of per-body (pair), per-sample, local reference positions of closest body verts

  • body_pairs_is_parent_dominates_in (Array[bool]) – Array indicating if parent body should be allowed to move (one entery per-body-pair)