Hello.
I want my simulation to run automatically after loading a scene.
I red about using scripts and add-ons but when I load it (I based on vrepAppOnScript-addOnScriptDemo.lua) I must manually launch it from toolbar (by clicking Add-ons -> addOnScriptDemo (stopped) ). I was trying to change the code in that script, but it always is in "stopped" mode.
I would be grateful for your help. :)
Add-on with autostart
Re: Add-on with autostart
Hello,
make sure the name of your add-on is vrepAddOnScript_xxxx.lua, where xxxx can be anything. The underscore is important, since it tells V-REP to automatically start the add-on script.
Cheers
make sure the name of your add-on is vrepAddOnScript_xxxx.lua, where xxxx can be anything. The underscore is important, since it tells V-REP to automatically start the add-on script.
Cheers