Pointing a players arm at a position

  1. What do you want to achieve? I’m trying to make the player’s arm point at an attachment so I can move that and have the players arm sorta move with it

  2. What is the issue? I don’t have any screenshots but I’m sure you get the point

  3. What solutions have you tried so far? I’ve searched google I’ve looked on here haven’t found something that works.

If you need more info just ask me, thank you!

Edit: if your asking for code you will probably have to wait a bit cause im not currently on pc.

I did not understand correctly, could you explain me a bit more? Take your time :slight_smile:

You know how like you can use CFrame(vec3,lookAt) to make another object look at a specified position I want to do that but with a players arm, I tried that and it didn’t work I also tried :fromMatrix() didn’t work either also tried some other code I found on here didn’t work, nothing seems to work

Could you explain me how it didn’t work? Maybe you wrote it incorrectly?

RightArm.CFrame = CFrame.new(RightArm, Part)

I think you could mess a bit with Attachments or Roots to make it work? Thanks for reading.

When I tried the code you just sent my character would spin and then some other code I found just put the players arm above there head.

Edit give me a second while I find image of what I’m trying to do

https://gyazo.com/d31b172108fe81f9c3c21386cea90278

I want the other arm to grab the handle as well here is the attachment, just so you sorta get an image of what I mean

I’d recommend looking into Inverse Kinematics, there are some good posts about it on the devforum.

This one should be helpful: R6 rig inverse kinematics

1 Like

I’ll try that out thanks! 30 charssssssssss

Thank you! Got it working link: https://gyazo.com/363dead546d634faac76f54e33c0bea2

hi, can you send the code please i am having trouble and it would help me out if i can look at it

Search up “Inverse Kinematics Roblox” on youtube.