|
| 12 Dec 2015 09:08 AM |
is there any way to smoothly transition from one brick color to another
for example for a red brick to gradually turn blue not just all of sudden |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 12 Dec 2015 09:25 AM |
| Use a file mesh, set texture to all white, tween VertexColor (which acts as an RGB even though the input is vector3) |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2015 09:44 AM |
'Use a file mesh, set texture to all white, tween VertexColor (which acts as an RGB even though the input is vector3)'
I died inside.
Just add a SelectionBox on it, and set the surface color, tween it until it matches the desired brickcolor, and then set the brickcolor itself and destroy the SelectionBox. |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2015 09:45 AM |
@warspy
But wouldn't selectionboxes be very very noticeable? |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2015 09:46 AM |
| @wonderful If that turns out to be the case, use SurfaceGuis on each side |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 13 Dec 2015 10:17 PM |
The method I proposed is responsive to game lighting (surfaceGUIs are not, last I checked). Selection Boxes are definitely not the way to do this.
@warspy To be clear, I recommend using one instance (the mesh), and tweening one property. You have suggesting using a different instance which is fine, but if that fails, you recommend using 6 (one surfaceGUI per face). And your recommendations ignore lighting. |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2015 09:42 AM |
| A SelectionBox WOULD work actually, I was just too lazy to explain why lol. |
|
|
| Report Abuse |
|
|