Can someone explain to me how to make a slowly rotating crane?
that would be awesome. …thanks
do you want the crane to rotate via an interaction with a switch or to rotate on it’s own independently?
i want it to rotate on its own independently just slowly turning 360 or something like that
> 2533274809493776;3:
> i want it to rotate on its own independently just slowly turning 360 or something like that
alright. First you’ll want to group and weld the parts of the crane you want to rotate (if it’s multiple parts you’re wanting to have move)
once all your items are welded(if there are multiple), hold the object and open the menu that has map and tool settings, at the top while holding the object you’ll have an object properties option, click that and scroll down to where the scripting tab is.
Create a new script, now to have it rotate on it’s own, you’ll most likely want it to use the on timer condition and set your timer up. If you want it to constantly rotate throughout a match, just set the repeat timer and leave the initial delay timer alone as that will delay how long the script will activate.
On the action list, look for the action that has rotation in the name, (can’t remember on the top of my head) this will bring up a list of pitch, row, and yaw to adjust. You’ll probably have to mess around with those to figure which one will rotate the crane in the orientation that you desire.
now unfortunately the highest rotation possible right now is 180 degree’s, although you can set the repeat timer to one, and it’ll rotate with a very slight delay in-between, I haven’t figured out how to completely remove the delay, I’ve only messed with the scripting for an hour maybe.
Lastly, there should be a time option under the pitch, row, and yaw option’s, that’s to set how long it will take the object to complete the rotation, mess with that until you have desired results.
Hope this helps. This should work, although what I’ve said is based on memory so there may be a chance this won’t work completely, but I’ve had objects rotate before and this is what I believed I did to have them rotate.
EDIT: One last thing. Keep in mind that when the crane rotate’s, it’ll rotate based on the objects center of mass or based on the welded object’s parent, so to have the crane rotate properly, you’ll want to set the parent to the base stand the crane part is on, or make a super small object welded into the crane at the part you want it to pivot at and set the small object as the parent. Sorry I forgot that small detail.
woah didn’t read yet but THANK YOU very much #)
sometimes reading this forum really suxxs because everyone’s just hatin
but as you see above there’s an awesome community hidden behind the trolls
thanks mate
no problem. Ya waypoints more negative then I’m use too, I usually browse reddit but on occasion I go on here out of curiosity.
ok thanks again everything works fine except:
i got the crane,the hook and a cable welded together and they are moving but the center of mass of the crane boom(main moving part)seems not right and i can’t figure out how to change it
> 2533274809493776;7:
> ok thanks again everything works fine except:
> i got the crane,the hook and a cable welded together and they are moving but the center of mass of the crane boom(main moving part)seems not right and i can’t figure out how to change it
ya remembered something at the last minute, so I made an edit a few minutes ago at the end of my post, just look at the bottom where it said EDIT, I added a small explanation to it that’ll fix that problem.