Typically: "How do I... ", "How can I... " questions
- Posts: 1
- Joined: 04 Dec 2018, 17:05
I want to create a new object (e.g. a sphere) and a UI to specify the new position for the object - x, y and z co-ordinates and then have a button to move the object to the new position. How do I go about doing this in V-REP?
- Posts: 308
- Joined: 09 Sep 2013, 19:28
You can use the CustomUI
plugin, it allows you to create windows with buttons and other widgets. See scenes/customUI.ttt
for an example.
Additionaly, you need to use sim.createPureShape
to create a sphere, and sim.setObjectPosition
to move it.