I found a method to change colour in 3D in help file
MySingleProc.set3DColor(makeRGBValue(255,0,0)); -- colors the SingleProc in 3D red
I have tried using it on a line, by having a sensor which will trigger this method and change the color of MU moving on a line. But, i am getting error as "Unknown Identifier".
My method is
@.set3dcolor := (makeRGBValue(255,0,0));
Can someone please point out mistake in method.
Thanks in advance. . .
Solved! Go to Solution.
thank you, Learner, for the hint to the outdated method set3dcolor. The documentation is updated.
The proposed solution will turn off the inheritance of the graphics. In most applications it is not recommended.
It is better to create a second graphic group and switch die visibility by an instruction like
@._3d.VisibleGraphics := makeArray("graphic")