GetBoneNames

Kategorie: Objekte / Darstellung
Ab Engineversion: 9.0 OC

Beschreibung

Returns the bone names for the the calling object. May also be called from definition context to return the default mesh's bones of this definition.

Syntax

array GetBoneNames();

Beispiel

func HasHead(def definition) {
	for (var bone in definition->GetBoneNames()) {
		if (WildcardMatch(bone, "*Head*") || WildcardMatch(bone, "*head*")) {
			return true;
		}
	}
	return false;
}
Returns true if the definition has any bone named "Head"
Siehe auch: AttachMesh
Kanibal, 2020-04