mehdift
11-19-2012, 01:00 PM
Hi guys
I have had some problems with my rig setup of a mini cooper austin, my rig is almost complete, but the wipers on the wind shield are left.
I used SDK (set driven keys) for the wipers, i made a new attribute in the attirbute section of each wiper itself, freezed the translate and scale of the wipers, so just rotation and the new attribute was left. the new attribute was given a limit 0-1. so the new attribute drives the rotation of the wipers. it works perfectly, but i am stuck writing an expression for making a controller for the wipers. so they both move simultaneously together.
This is what i have so far:
// wind shield wipers
if(TopControl_mini01.wipers == 0){
Wiper_left01.wiperleft = time * 500;
}else if(TopControl_mini01.wipers == 1){
Wiper_left01.wiperleft = time * 0;
}
i dont know how to set the condition where both wipers starts automatically rotating when the controller's attirbute is set to 1, so they keep wiping the window!
any tips? thanks in advance
I have had some problems with my rig setup of a mini cooper austin, my rig is almost complete, but the wipers on the wind shield are left.
I used SDK (set driven keys) for the wipers, i made a new attribute in the attirbute section of each wiper itself, freezed the translate and scale of the wipers, so just rotation and the new attribute was left. the new attribute was given a limit 0-1. so the new attribute drives the rotation of the wipers. it works perfectly, but i am stuck writing an expression for making a controller for the wipers. so they both move simultaneously together.
This is what i have so far:
// wind shield wipers
if(TopControl_mini01.wipers == 0){
Wiper_left01.wiperleft = time * 500;
}else if(TopControl_mini01.wipers == 1){
Wiper_left01.wiperleft = time * 0;
}
i dont know how to set the condition where both wipers starts automatically rotating when the controller's attirbute is set to 1, so they keep wiping the window!
any tips? thanks in advance
