Is there a way to have a limit on my.pan?

Posted By: FutureRaptor

Is there a way to have a limit on my.pan? - 01/18/11 02:17

Is there a way to have a limit on how fast my.pan can change. Sort of like a max turn rate for my plane. Thanks and I use Lite-C!
Posted By: Superku

Re: Is there a way to have a limit on my.pan? - 01/18/11 02:24

my.pan += clamp(your default pan increase, negative limit, positive limit)*time_step;
Posted By: FutureRaptor

Re: Is there a way to have a limit on my.pan? - 01/18/11 04:36

Man you have helped so many times, thank you so much!
© 2024 lite-C Forums