Custom Rig: hold controller to location

Hey, I have a question for custom rig graphing where I’m trying to make it so the characters arm is always on the First Person Camera at a certain spot.

I’ll need to know this for a variety of things and will need to use the code over and over again. In this case, I’m basically trying to get them to hold a flashlight.

I don’t usually touch animation but I need it to build the system and I’ll be able to figure out what you saying in unreal. Just need terms and connects

thanks for your time

In control rig, add a vector variable (call it Hand Location or something) and if you click the eyeball by the var to mark it instance editable, you should be able to show it as a pin in your anim bp’s anim graph, Have your character set its own hand location var (maybe call it MyHandLocation, to differentiate it from the one in control rig. Then either have your anim bp get the var in update animation event and save it to abp, or edit the control rig node and bind the input to var on character.

In forward solve event of CR, use the input vector to set control location. Will likely need a From World node to transform world space vector to rig space.

Alright I understand what you are telling me. I’m gonna mess with it for a while and see the result and if it works. I show everyone how it works in-case they run into the same problem if not… well… see ya soon