How to bind a model and a joint with key trigger in MSphysic

How to bind a model and a joint with key trigger in MSphysic

Postby 3Dwudi » Sat Sep 25, 2021 4:18 am

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!

0

3Dwudi 
 

Re: How to bind a model and a joint with key trigger in MSph

Postby 3Dwudi » Sun Oct 10, 2021 5:08 am

:oops: 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
}
0

3Dwudi 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Extensions & Applications Discussions

Who is online

Users browsing this forum: No registered users and 3 guests