dim3 Forum

Full Version: flying trouble
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made a vehicle that can fly but, however, it flies, but not up or down,just on the height that you started at... what do you have to script in order to fly up and down?
There is an up and a down button. You have to set them in the preferences.
There's also an input mode that makes it fly where you point the cam. DIM3_INPUT_MODE_FLY, I think.
In the construct of your object, set the input mode like this:
Code:
obj.setting.inputMode = DIM3_INPUT_MODE_FLY;
However it's a little buggy, in my opinion. If you point it up a little, it flies 45° upwards and if you point it down a little, it flies 45° downwards. Or at least it did the last time I tried...
Thanks bink! this has been troubling me for a while. Smile
Reference URL's