Code: Select all
17 , 90
17 , 91.2519
17 , 94.9037
17 , 100.681
17 , 108.222
17 , 117.156
17 , 127.154
17 , 137.937
17 , 149.28
17 , 160.997
17 , 187.067
17 , 175.052
17 , 163.092
17 , 151.325
17 , 139.903
17 , 129.007
17 , 118.852
17 , 109.707
17 , 101.894
17 , 95.7785
17 , 91.7279
17 , 90.0393
17 , 90.851
17 , 94.0953
17 , 99.5225
17 , 106.78
17 , 115.494
17 , 125.325
17 , 135.987
To get and set quaternion, I use sim.getObjectQuaternion(DummyFrameHandle,-1), sim.setObjectQuaternion(SphereHandle,-1,{x,y,z,w}). I understand you might question why I’m multiplying at each iteration. The reason is that the sphere keeps moving, and I need to perform the orientation relative to the body frame.
CoppeliaSim Edu, Version 4.5.1 (rev. 4). Ubuntu 18.04 OS
See this working example,
https://www.dropbox.com/scl/fi/j8isg1ql ... 0oeoy&dl=0
Please help.