Can I make a throttle that doesn't respond instantly? I know how to do:
Every Tick
Car set speed to SliderBar.Progress
I want the car to accelerate/decelerate when I change the slider bar.
Thanks in advance
Develop games in your browser. Powerful, performant & highly capable.
Instead of “every tick”, try “every 0.3 seconds’. Vary the lag on that event until it feels right.
That is better than every tick, but is not what i'm looking for. When I instantly move it to max, 0.3 seconds later the cars speed is maximum. Thanks anyway.
Try lerp.. something like lerp(carCurrentSpeed, SlideBar.Progress, 0.06)
the last number = how fast acceleration will be.. bigger number, faster acceleration.
Thank you so much! That's exactly what I was looking for!!
I'm trying to make a flight simulator. I have the throttle (Thanks to digitalvision) and the steering down. I need help adding a radar so I can detect other planes and a minimap so I know where all the other airports are. Any other ideas would be welcomed.
Thanks!