Notifications
Clear all
[Closed] LookAt_Constraint and link_constraint
Jun 26, 2015 10:01 am
I have objects A and B.
B is the target for A
A is Looking at B
CP = LookAt_Constraint pickUpNode:B upnode_world:false relative:on
CP.target_axis = 2
CP.upnode_axis = 0
CP.StoUP_axis = 2
CP.appendTarget B 100
A.rotation.controller = CP
A.rotation.controller.viewline_length_abs = off
Is it possible to link B to A, so that when I move A, B will move along?
lc = link_constraint()
B.transform.controller = lc
lc.addTarget A 0
I can’t get it working
1 Reply
Jun 26, 2015 10:01 am
hello
if you create link constraint … the despondency is happen …
the best way is using standard parent .