Hi,
I'd like to know exactly when the simSetObjectPosition, simSetObjectOrientation, simSet.... methods actually perform the update of the position/orientation etc.? I ask this because in my code when I update a position and then immediately after if I check that it has been updated through an if statement or print() it doesn't seem to show an update. However, the update does show up in the next cycle of the loop.
I'm running this in a non-threaded script where the code is executed during the sensing phase. Am I right in saying that these are non-blocking methods which do not guarantee immediate updates? Is there a workaround to getting the update immediately?
This post seems to be experiencing the same problem: viewtopic.php?f=9&t=6646
Thanks for your help.
simSet method intricacies
Re: simSet method intricacies
Hello,
can you post a simplified scene that illustrates the problem? The position is immediately modified. Maybe the object has some other dependencies. Can't tell without seeing it.
Cheers
can you post a simplified scene that illustrates the problem? The position is immediately modified. Maybe the object has some other dependencies. Can't tell without seeing it.
Cheers