#How do i make the arm follow the mouse pointer

1 messages · Page 1 of 1 (latest)

median summit
#

So i need help on how to make a script simular to the one shown in the video where the arm is following where i point with a limit not rotation behind the back and only when i pull out the tool

pastel anchor
#

I think this is ik control

#

Though it not sure tbh

cunning holly
#

Yeah its very likely made with IK Controls like Dani said. The only other option i could think of would be with the Run Service.

#

Here is a tutorial for it. https://youtu.be/iWRlgOw8fW4?si=XFFVG2nOBLnMQiYr
Once you understand IK Controls just create a Part at the Players Mouse.Hit position and set the Target to that part.

Inverse kinematics is the mathematical process of calculating the variable joint parameters needed to place the end of a kinematic chain.

Become a member for great Channel and Discord perks!: https://www.youtube.com/channel/UCmIFjYx2aXrTjy5H8Zz1IfA/join
Discord Server: https://discord.gg/Fk8CF67RE7

If the invite doesn't work, try it from here:...

▶ Play video
median summit
cunning holly
median summit
#

ill see if i can

median summit
#

and my rig are gonna be r6

cunning holly
#

But if you don't want to use IK Controls ig try changing the Rotation of your arm using Run Service?

#

There is a function called CFrame.lookAt(). That might help you

median summit
#

ok ty ill try it

livid arch
#

you really don't need inverse kinematics

#

there's a property of certain joints that allow you to rotate them as you please

#

orientation

#

just have it point towards where the flashlight's target is

#

you can do some extra math to make it look better but that's basically it

pastel anchor
livid arch
pastel anchor