How to make viewmodel hand attachment to the wall like in redliner?

I don’t have any ideas how did they make that. Im thinking about double viewmodel but that sounds kinda… meh.

  1. What do you want to achieve? I want to achieve redliner-like wallrunning viewmodel’s hands attachment.

  2. What solutions have you tried so far? Didn’t find anything in dev forums and I have no idea how to do that. I heard something like IKcontrol can fix that but if im correct that’s for r15 or something.

Any help is appreciated :folded_hands:

1 Like

just create a weld constraint and set part0 to the arm and part1 to the future part and by adding a distance check e.g. (Part1.Position - Arm.Position).Magnitude

when close: if the distance is less than your threshold (e.g., (1.5) studs), set Part1 to the target part and enable the weld.

when far : if the distance exceeds the threshold, set Part1 to nil to release the arm.

1 Like

either hardcoded offset or just IKControl
(didn’t mean to reply whoops)

1 Like

Well, so basically how did I achieve that. I used raycasts to place the hand on the wall and then for the attached hand I disabled motor6d to disable animations (just to be sure) and after I did a perfect visual offset and rotation for that arm so it will look more natural near the wall. For the appearing animation I used the offset again. And also to prevent hand clipping to the camera I made so the player will stop wallrunning if looking directly at the wall. Not the best solution I think but hey it works!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.