Notifications
Clear all

[Closed] LookAt_Constraint and link_constraint

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

hello
if you create link constraint … the despondency is happen …
the best way is using standard parent .