| bio | website | chen.asraf.me |
|---|---|---|
| location | Bat Yam, Israel | |
| age | 21 | |
| visits | member for | 11 months |
| seen | Sep 29 '12 at 18:37 | |
| stats | profile views | 7 |
Web developer at WisePricer, 21 years old.
|
Jul 5 |
comment |
Using Lerp to create a hovering effect for a GameObject Debugging this did work and the variables did change, but I'm not sure if often enough, whatever the result though, it didn't ever do this properly, I'll try to change that, thanks. Can you think of better logic to work it? |
|
Jul 5 |
comment |
rotate player based off of joystick Awesome, would've never figured this out on my own haha! |
|
Jul 5 |
comment |
Using Lerp to create a hovering effect for a GameObject @melak47 The code is self explanatory: hovering over the cube would make it change colors, slowly and gradually between (in this example) red and green; it starts red/green, slowly becomes a cross of both, and eventually becoming the other color. I don't care which starts. That's actually irrelevant anyways; the real question is how do I use Time.time (or any better replacement you can think of) to have a number that goes from 0 to 1 as a float, and when reaches 1, changes direction and counts backwards to 0, (0.9->0.8->0.7->...) and the repeats the other way around. |
|
Jul 5 |
awarded | Supporter |
|
Jul 5 |
asked | Using Lerp to create a hovering effect for a GameObject |
|
Jun 14 |
awarded | Autobiographer |