Notifications
Clear all

[Closed] Look at constraint ON/OFF script

Hi,

I have a helper point that has 2 look at constraint targets, I would like to turn on and off the look at weight of this helper so I can disable the look at influence and keep the helper in it’s original orientation. I was thinking in some sort of script to be applied on a button that I have already created in one of my controllers.

The thing is that I am not good at scripting, can you guys help me out?

Tks

2 Replies

I would do it with Rotation List controller:
1 – Original Rotation
2 – First LookAt target
3 – Second LookAt target
— or — One LookAt Controller with two targets
4 – Free Rotation

and wire LookAt and Free weight as a toggle by two-way connection

this setup can be extended with Custom Attribute, which parameter can be used as a toggle control

1 Reply
(@xhandy)
Joined: 11 months ago

Posts: 0

Thank you so much denisT! I hadn’t thought about using Rotation List controller, it did exactly as I wanted.

Once again, tks bro.