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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement