Hi!
I tried to connect a model 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!
help~!!! o(╥﹏╥)o
my scriptcode is ____
onKeyDown {|key, val, char|
bx = simulation.find_body_by_name('bx') # a box model group
jw = simulation.find_joint_by_name('jw') #a Piston joint
Hi! I tried to connect a model 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!
help~!!! o(╥﹏╥)o
my scriptcode is ____
onKeyDown {|key, val, char| bx = simulation.find_body_by_name('bx') # a box model group jw = simulation.find_joint_by_name('jw') #a Piston joint
jw.connect(bx) #but it's wrong }