import pybullet as p
p.connect(p.GUI)
pluginUid = p.loadPlugin("E:/develop/bullet3/bin/pybullet_testplugin_vs2010_x64_debug.dll")
commandUid = 0
argument = "plane.urdf"
p.executePluginCommand(pluginUid,commandUid,argument)
p.unloadPlugin(pluginUid)
13 lines
214 B
C
13 lines
214 B
C
#ifndef B3_PLUGIN_CONTEXT_H
|
|
#define B3_PLUGIN_CONTEXT_H
|
|
|
|
#include "../PhysicsClientC_API.h"
|
|
|
|
struct b3PluginContext
|
|
{
|
|
const char* m_arguments;
|
|
|
|
b3PhysicsClientHandle m_physClient;
|
|
};
|
|
|
|
#endif //B3_PLUGIN_CONTEXT_H
|