Switch Rivet, alternative?

   3489   2   0
User Avatar
Member
875 posts
Joined: Oct. 2008
Offline
I parented a camera to a rivet. Now I want to switch it to another rivet during animation but it doesn't work. Is there an alternative setup for this?

Attachments:
switch_rivet.jpg (10.0 KB)

--
Jobless
User Avatar
Member
1926 posts
Joined: Nov. 2006
Online
The switcher is slightly misleading in that it is specifically for switching between cameras, not transforms.

http://localhost:48626/nodes/obj/switcher [localhost]

There are a number of ways to do what you want though. In the attached file I through together three different setups.

The first makes use of the Switcher object as it is intended to be used. I create a camera and make a reference copy of it so you only have to manage one camera. These are both connected to the nulls/rivets then fed into the switcher. You can then animate the Switch Camera parameter.

The second is more like yours, but it uses a blend to switch between the two. The weight for the 2nd input is 1-weight1, so if you switch weight1 to 0, weight2 goes to 1. You would want to use a constant animation function to get it to switch instantly.

The third way uses CHOPs. There are just two Object Chops and a switch to select which one. The chosen transforms are then exported to the camera.

Hope that helps.

Attachments:
camera_switch_example.hipnc (116.8 KB)

Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
875 posts
Joined: Oct. 2008
Offline
Thanks it works now.
--
Jobless
  • Quick Links