unreal.AnimDatabaseFrameAttributeFunction_ContactCurve¶
- class unreal.AnimDatabaseFrameAttributeFunction_ContactCurve(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AnimDatabaseFrameAttributeFunctionComputes a contact curve attribute
C++ Source:
Plugin: AnimDatabase
Module: AnimDatabase
File: AnimDatabaseFrameAttribute.h
Editor Properties: (see get_editor_property/set_editor_property)
bone_name(Name): [Read-Write] Name of the bone to compute the contact state forfilter_curve(bool): [Read-Write] If to filter the curveheight_threshold(float): [Read-Write] Maximum height (in cm) for which the bone can be considered in contactmajority_vote_filter_width(int32): [Read-Write] Filter width (in frames) for the majority vote filter used to remove very short contact transitions. Contact periods (or non-contact periods) less than half this duration will be removed.smooth_curve(bool): [Read-Write] If to smooth the curvesmoothing_amount(float): [Read-Write] Amount of smoothing to apply to the resulting contact curve (in frames)velocity_threshold(float): [Read-Write] Maximum velocity (in cm/s) for which the bone can be considered in contact