SkeletonIK

Inherits: Node < Object

Category: Core

Brief Description

Properties

float interpolation 1.0
Vector3 magnet Vector3( 0, 0, 0 )
int max_iterations 10
float min_distance 0.01
bool override_tip_basis true
String root_bone “”
Transform target Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
NodePath target_node NodePath(“”)
String tip_bone “”
bool use_magnet false

Methods

Skeleton get_parent_skeleton ( ) const
bool is_running ( )
void start ( bool one_time=false )
void stop ( )

Property Descriptions

Default 1.0
Setter set_interpolation(value)
Getter get_interpolation()

Default Vector3( 0, 0, 0 )
Setter set_magnet_position(value)
Getter get_magnet_position()

  • int max_iterations
Default 10
Setter set_max_iterations(value)
Getter get_max_iterations()

Default 0.01
Setter set_min_distance(value)
Getter get_min_distance()

  • bool override_tip_basis
Default true
Setter set_override_tip_basis(value)
Getter is_override_tip_basis()

Default “”
Setter set_root_bone(value)
Getter get_root_bone()

Default Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
Setter set_target_transform(value)
Getter get_target_transform()

Default NodePath(“”)
Setter set_target_node(value)
Getter get_target_node()

Default “”
Setter set_tip_bone(value)
Getter get_tip_bone()

Default false
Setter set_use_magnet(value)
Getter is_using_magnet()

Method Descriptions

  • Skeleton get_parent_skeleton ( ) const

  • bool is_running ( )

  • void start ( bool one_time=false )

  • void stop ( )