DynCallback as Eventmessage in Plugin
Posted: 15 Aug 2018, 14:22
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
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