Home › Forums › Problems and solutions in GDL › Graphical editing › Angle editing hotspot locks at '0' in 3D › Reply To: Angle editing hotspot locks at '0' in 3D
April 18, 2016 at 10:27
#2413
Participant
Maybe you do need to use ‘7’.
Here is the code I use to change the pitch on my barge object.
No problem stretching it to or from zero.
r = 0.350
HSID = HSID +1
hotspot 0, 0, 0, HSID, Ptch_Inp, 6 !center of angle
HSID = HSID +1
hotspot r, 0, 0, HSID, Ptch_Inp, 4+128 !base hotspot
HSID = HSID +1
hotspot r * cos (Ptch_Inp), 0, r * sin (Ptch_Inp), HSID, Ptch_Inp, 5 !moving
HSID = HSID +1
hotspot 0, -1, 0, HSID, Ptch_Inp, 7 !center of angle
HSID = HSID +1
Barry.
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit