How do I create a rotation script?
I’m trying to make the hand on the end of this spin around 360 degrees.
How would I make a script to do that?
(I’ve already tried looking at youtube tutorials and one of them crashed my studio)
How do I create a rotation script?
I’m trying to make the hand on the end of this spin around 360 degrees.
How would I make a script to do that?
(I’ve already tried looking at youtube tutorials and one of them crashed my studio)
If this is a mesh, maybe try to separate it. Then, put a script inside it and just change it’s rotation value.
It’s the junkbot package hand, I think it’s still a mesh though, I’ll try it
If the border box which is in blue color, is not covering the entire model, that means some of it’s part is separated. You can see the blue border box is small, that means you can change it’s property. Try moving that selected mesh.
Okay, move it back where it was supposed to be or just Ctrl + Z OR Cmd + Z to undo that action. This means you can just change that selected part without affecting the model, so just add a script inside it and just change it’s rotational value.
That’s the thing, I don’t know how to create a script like that, I don’t know how to create a script that smoothly changes the orientation value of the part
The way I’d do that is use hinges/motors. Pretty straight forward to use and its just simply changed the desired angle of the hinge.
Seems like you need to learn scripting. I recommend you to learn the basics of scripting from AlvinBlox before making this post. It’s actually a very easy fix.
I’m confused with hinges and motors. Is there a reference page about it?
I’ve been scripting for around 4-5 months but I limited my scripting to GUI’s, so anything in the workspace is new to me.
That’s why I told you to go and learn basic scripting from AlvinBlox.