I want to know how is this logic happen (example this game)
Press E then its doing blending machine. is it script only or script + animation ? or anything else because i don’t know the logic
Sorry im new. im from FiveM
I want to know how is this logic happen (example this game)
Press E then its doing blending machine. is it script only or script + animation ? or anything else because i don’t know the logic
Sorry im new. im from FiveM
can you send a vid of what does?
Most likely, there’s a script and an animation that the script loads. But you aren’t giving much details here, so I can’t be sure.
From what I see, the script is structured like this:
Blender
├── ProximityPrompt
│ ├── Script
│ └── Animation
yea mostly like this
how to animated the model? isn’t need to be rig? or have any tutorial on it
you can rig it or you can use tween service. To rig it and animate it check this tutorial if you need help ping me
I’m pretty sure as long a model has a HumanoidRootPart, an animationcontroller and is welded/jointed together, it can be animated.
you need to rig it to animate it
Not necessarily animated like you would do with a character, because that often requires extra setup that you can avoid. Simple movement like this is easier to make with code.
You can use TweenService, or perhaps a loop that changes the instance’s CFrame. That should be fairly simple to do with a bit of math, since this essentially just spins and shakes.
Ty for all answering ^^ guys yea the video helpfull, but can you recommend? better use script (tween service) or rig
In this case, definitely a scripts, because if you want to make something similar, you’ll be using scripts anyway, and you won’t have the extra effort of setting up the instance/model for animations that will take you unnecessary time.
Nowadays, you can find code like this anywhere: devforum, youtube, various websites, even AI (though I do recommend you try and understand what the script is doing). Here are some references for you:
im agree with you, but IA its not the best thing to use