|
Interactive 3D Button
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
Interactive 3D Button // The Garage
Post by trueBlue // Apr 12, 2008, 8:03am
trueBlue
Total Posts: 1761
|
Here is three interactive 3D Buttons.
The 3D Button uses Diffuse Strength as Highlighter.
When you mouse over the button it highlights and when you Left Mouse Button select it will run your script.
Also added a Trigger that can be used in FPN mode with the "P" Use Key.
Text is 3D and can be changed as well.
When you select any of the Show buttons, it will show it's panel in the Stack/Panels.
The 3D Button Color uses Diffuse Color as Highlighter.
The 3D Push Button uses Diffuse Color as Highlighter. This version will move down then back when you LMB click to run your script. If you Encapsulate this button you will have to Export the Object Name attribute out to the scene root. |
Post by frootee // Apr 13, 2008, 4:31am
frootee
Total Posts: 2667
|
Cool! Thanks trueblue!
Change the text to "Drink Me"
and we're down the Rabbit Hole! :jumpy: |
Post by frootee // Apr 13, 2008, 10:38am
frootee
Total Posts: 2667
|
Cool! Thanks trueblue!
Change the text to "Drink Me"
and we're down the Rabbit Hole! :jumpy: |
Post by trueBlue // Apr 13, 2008, 11:43am
trueBlue
Total Posts: 1761
|
Your welcome!
That is why I made the UI, to make easier to change the Text. :)
Your welcome!
That is why I made the UI, to make easier to change the Text. :) |
Post by Délé // Apr 13, 2008, 1:14pm
Délé
Total Posts: 1374
|
lol...I agree, nice work trueBlue. Buttons always come in handy and being able to utilize pre-made ones makes it fast and easy. Thanks. :) :banana:
lol...I agree, nice work trueBlue. Buttons always come in handy and being able to utilize pre-made ones makes it fast and easy. Thanks. :) :banana: |
Post by frootee // Apr 13, 2008, 1:56pm
frootee
Total Posts: 2667
|
hm... do I have double vision? Both of the last posts were printed twice... :p |
Post by Délé // Apr 13, 2008, 2:07pm
Délé
Total Posts: 1374
|
lol, just teasing you a bit for the double post froo. :p
One thing I don't understand though...How did you get a double post that is 6 hours apart? :confused: |
Post by frootee // Apr 13, 2008, 2:22pm
frootee
Total Posts: 2667
|
what the hey!? I dunno!
Earlier today I made that post; 6 hours later I came back home, only to see that post still there, as if I had not submitted it yet, so I hit the Submit Reply button.
Apparently I did not submit it the first time. :confused:
hmmm... maybe its another bug... :cool: |
Post by clintonman // Apr 13, 2008, 4:22pm
clintonman
Total Posts: 304
|
Neat! Thanks for sharing.
Edit: Oops found a bug in the color one
LE.OpenLocation(Space.CurrentScene() + "/3D Button/Highlight Script/Script");
should be
LE.OpenLocation(Space.CurrentScene() + "/3D Button Color/Highlight Script/Script"); |
Post by trueBlue // Apr 13, 2008, 8:42pm
trueBlue
Total Posts: 1761
|
Ah right in the temporary scripts. Trigger command was wrong to. I fixed and updated the 3D Button Color.RsObj. Thank you very much! |
Post by trueBlue // Apr 16, 2008, 1:05pm
trueBlue
Total Posts: 1761
|
Added one more 3D Push Button. See first post.
The 3D Push Button uses Diffuse Color as Highlighter. This version will move down then back when you LMB click to run your script. If you Encapsulate this button you will have to Export the Object Name attribute out to the scene root. |
|