SkeletonIK

Inherits: Node < Object

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

float interpolation

Default 1.0
Setter set_interpolation(value)
Getter get_interpolation()

Vector3 magnet

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()

float min_distance

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()

String root_bone

Default ""
Setter set_root_bone(value)
Getter get_root_bone()

Transform target

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

NodePath target_node

Default NodePath("")
Setter set_target_node(value)
Getter get_target_node()

String tip_bone

Default ""
Setter set_tip_bone(value)
Getter get_tip_bone()

bool use_magnet

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 ( )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_skeletonik.html