How to bind a model and a joint with key trigger in MSphysic
-
Hi!
I tried to bind an object to the specified joint in msphysics by pressing a key, but I tried for a long time and failed. I couldn’t understand it after reading the manual,I don’t understand how to release one of the models bound on the specified joint!

-
is there anyone can help me?
my scriptcode is ________________________onKeyDown {|key, val, char|
bx = simulation.find_body_by_name('bx')
jw = simulation.find_joint_by_name('jw')jw.connect(bx) #but it's wrong
}
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