Page 1 of 1

DynCallback as Eventmessage in Plugin

Posted: 15 Aug 2018, 14:22
by vrepUser1
Hello,
currently I'm writing a plugin for custom dynamic behaviours. For this purpose I need to go with the stepsize of the physicsengine. Therefore I'm using the nice "dynCallback" in a CustomizationScript which calls at each (dynamic-)step a method in my plugin to make additional dynamical calculations. Works fine so far!

I asked me if there existed a callback for vrepMessage(..) like "sim_message_eventcallback_dynamics"? I only know this messagetype "sim_message_eventcallback_modulehandle", but this will be called only every simulationstep. I could then implement the update-procedure inside the plugin and nobody has to care about to do it externally in the dynCallback.

Best,
vrepUser1

Re: DynCallback as Eventmessage in Plugin

Posted: 17 Aug 2018, 13:24
by coppelia
Hello,

unfortunately this is not possible. You'll have to call a custom function inside of your plugin, from that customization script.

Cheers