Rename joints in SketchyPhysics
-
I wanted to rename my joints, so that I can control all of them at the same time. the joints name was chaged in the UI box, but somehow when I pressed the play button, the joints name got back to "hinge (numbers)" again. How to rename it properly???
-
Joint names I think need to be unique but you can give them a common controller name or (and I know it is bad practice sorry TT) a common global $variable.
-
@mptak said:
Joint names I think need to be unique but you can give them a common controller name or (and I know it is bad practice sorry TT) a common global $variable.
Hmm.. actually I dont understand what you just said. So, do you mean I can try renaming it with "$variable"?
-
Sorry for being unclear. In general you can't copy joints and you probably shouldn't even rename them. Many joints can however, share the same value for things like thrust. You can use a slider for instance, so they act in unison. a "$" in front of a variable name makes it global so it can be essentially called from all of your joints. I'll try and make a little video and post it to do a better job of explaining it. Hang in there, once you get past a few quirks sketchy physics combined with a little ruby scripting is loads of fun.
Advertisement