Create an arm like FNAF: Secret of the Mimic?

Godot Version

4.5

Question

How would I create an arm like the one in FNAF: Secret of the Mimic? Pulling levers, opening doors, and turning wheels. The tutorial that gave me this idea was this tutorial.

1 Like

You have to always assume that we haven’t played this game. Please describe exactly what you would like to achieve, ideally with a short video or a mockup, then maybe someone will be able to help you solve your issue.

4 Likes

You’d have to make a 3D arm that has an animation that moves it on screen whenever an interactable item is selectable and other animations for actually interacting with the items

The tutorial you provided seems really good for what you’re trying to achieve, you just have to integrate what I said above.

2 Likes

I’m trying to figure out a way to do that.

1 Like

Well you might want to check how animations work on Godot.

Script wise you could use Raycasting (also look that in the Docs) and have a script that activates the animation (combined with what the tutorial says) when the object is in reach.

(Y’all think that I’ll get the Solved? lol would be my first solved that wasn’t put by myself)

1 Like

Apologies for the late reply but here are some gifs I took of the main stuff I want to do from SOTM.

EDIT: Tried using an animatable arm off the internet but when animating it, it would revert to the of state, no other animations are set to default/autoplay

SOTM_example_drag-knob

SOTM_example_crank

SOTM_example_pickup

SOTM_example_button

SOTM_example_item-carry

Your phrase for today is “inverse kinematics”.

There is a whole rework of this system coming with Godot 4.6 soon.

In general, if you’re not already an experienced animator yourself, I’d advice against trying to implement it. It’s far from simple.

4 Likes