How to get the Point At target [Solved]

DraagonStormDraagonStorm Posts: 748

I know how to set a point at target, but I can't find how to get what a point at target is.

var pAt = bone.getPointAtControl();

pAt.getValue() will get me the strength value. I've tried pAt.getLabel() and pAT.getName() but both are returning blank.

Post edited by DraagonStorm on

Comments

  • DraagonStormDraagonStorm Posts: 748

    Nevermind, found it!

    	var pAt = bone.getPointAtControl();	if( pAt ){		var pAtNode = pAt.getNode();		if( pAtNode ){			debug( Pointing at: %1" ).arg( pAtNode.getLabel() ) );		}	}

     

Sign In or Register to comment.