@bestiajo
*IMPORTANT*
You must also create INTERNAL_GLASS in the car, by cloning the windows, if that's not present, otherwise without it, you can't see the raindrops on the windshield.
You have to add a new texture on the it, creating the material "INT_GLASS" (example name).
This way, when you open Kunos Editor, you can select the kswindscreen shader for it.
You need to "convert as poly" the INT_GLASS object, select it all and then "flip" it, otherwise the reflection of the cockpit or whatever texture you will use, won't work correctly and so the raindrops.
I usually add a 3rd layer of glass, for the Damage Glass. But in this case you need to follow Kunos pdf, which will explain you better how to name the dummies.
As you can see:
- every wiper is split into 2 or 3 pieces
- you have to create a dummy for each piece
- Dummy "WIPER_L" and "WIPER_R" always as first dummy.
- WIPER_L1, WIPER_R1...
- pivot point goes always on the bottom of the wiper base.
- you start the animation selecting only the dummy WIPER_L and WIPER_R, because this way only the pivot point will rotate.
- one frame on L, save keyframe and one frame on R, save keyframe.
- I use to increase of "20" the Z rotation value for each frame I create. I usually ad a new keyframe every 10 frames, to have a total of 50 frames (25 + 25 frames)
- Repeat it for the whole animation, that must be
back and forth (25 + 25 frames)
- Once done, shift+select all the wiper dummies and object nested and "export selected" to create the car_wiper.fbx (example name) file for the Kunos Editor to import as animation.
- Open Kunos Editor > open the car .fbx file > save the car .kn5 once done > import car_wiper.fbx and the editor will create you a car_wiper.ksanim file to copy in the animation folder inside the car folder.
For cars with only one wiper, it's easier.
You can use WIPER_1 as dummy and WIPER_2 for the piece #2
Obviously if you find wipers attached, you need to "convert as poly" the wiper, select only the bottom side, detatch it calling it whatever you like and remaning the upper part of the wiper whatever you like, for your convenience.
Then you do the usual "Pivot" > "Affect Pivot Only" and for the bottom part of the wiper, you move the pivot point where the pivot must be for the wiper to stay in place and rotate correctly.