color
Hi,
Quick question, I have programmers block on this. I have a script set up in which a ball.ive pops up on the screen, moves, then repeats this in a timer loop many times. I want the ball to occasionally be colored red. i have a previously defined list of when I want this to happen. Just picking out bits that are relevant here. Code:
color_select = [0,50,0,0,0] Thank you in advance. JB |
I don't know what you mean by "removing the color". Every object has a color, so do you mean black (0,0,0) or white (1,1,1), or something else?
|
Hi,
sorry, the ball is actually the soccerball.ive which comes with vizard. I only want to remove the red I applied to it and return it to it's original black and white with shading state. Using, 0,0,0 or 1,1,1 however, makes it look darker or lighter than the original. thanks. JB |
The following code shows how to apply a color and then restore the original:
Code:
#Set red color |
All times are GMT -7. The time now is 11:36 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC