Hello,
i'm learning the basics of Vrep and found something i doesn't understand.
Hope someone can help me.
I have an Dummy and i'm only want to rotate this Dummy around one axis.
This rotates the Dummy unlimited around the x-Axis
function sysCall_actuation()
handle=sim.getObjectHandle('Dummy')
local orientation=sim.getObjectOrientation(handle,-1)
orientation[1]=orientation[1]+0.001
sim.setObjectOrientation(handle,-1,orientation)
end
change the
orientation[1]=orientation[1]+0.001
to
orientation[2]=orientation[2]+0.001
the Dummy rotates around y-Axis but stops at 90°
with
orientation[3]=orientation[3]+0.001
it rotates around z-Axis unlimited
Why it doesn't work unlimited around the y-axis?
Thank you