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
}
Advertisement