Reading collison force from two bodies and sending to C code

Moderator: CPhillips

Reading collison force from two bodies and sending to C code

Postby youthreewire » Tue Jun 16, 2020 6:58 am

Hello,

Long time ago under the guidance of CPhillips I was able to command servo joint angles in sketchyphysics from C code. Now I want to read the collision force from sketchyphysics when two bodies collide and send it to my C code. So two parts to my questions
1)How do I read collision force in the sketchyphysics ruby code?
2)How do I send these read values back to my C code.

Any help would be appreciated.

Regards
0

youthreewire 
 

Re: Reading collison force from two bodies and sending to C

Postby youthreewire » Thu Jun 18, 2020 6:51 am

Could someone please guide me on how to achieve this?
0

youthreewire 
 

Re: Reading collison force from two bodies and sending to C

Postby youthreewire » Fri Jun 19, 2020 7:54 am

Could some one tell me how to solve this problem?
0

youthreewire 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchyPhysics

Who is online

Users browsing this forum: No registered users and 1 guest