sirius
07-18-2002, 03:25 PM
Hi,
working on a mountainbike animation, i am encountering some problems which might be max limitations, but i am out of whits and had to like the problems solved one way or another.....ít's driving me nuts. :hmm:
short description:
i have this bike, it has to follow a path, while the wheels turn, the biker pedals and the steer turns according to the curves, the bike should inclinate in the curve, as in real world.
So now i have the wheels turn by expression, the bike follows a spline with a path constraint. the biped biker moves the pedals (object space attachments of the limbs to the steer and the pedals)
BUT:
Problem:
1. in the expression for the steering movement i cannot retrieve the euler angle of a dummy on the path which indicates the curving direction. How do i get that angle, between two objects attached to a path with path constraint?
And, if i use a orientation constraint for the steer instead of the expression the steer turns on the path according to the curve, ok, but i cannot anymore retrieve the separate euler rotations of the steer which i am needing for the inclination of the bike.
so: expressions are not compatible with the constraints, or what?
2. If the curves of the path turn too far, the pedals will flip 180 degrees distorting the legs of the biped. When i use orientation constraint for the steer the same happens to the steer. Weird!!
Any workaround is welcome, including automated plugins!!!!
I just want to drive that d**n bike!!
I never imagined this would be so complex in max! :thumbsdow
edit: corrected question :
how do i retrieve the angle between two dummys at differnet points on the path?
This would solve the problem. The bike is attached with the rear wheel to the path, the front wheel steers towards the path........
sirius
:bounce:
working on a mountainbike animation, i am encountering some problems which might be max limitations, but i am out of whits and had to like the problems solved one way or another.....ít's driving me nuts. :hmm:
short description:
i have this bike, it has to follow a path, while the wheels turn, the biker pedals and the steer turns according to the curves, the bike should inclinate in the curve, as in real world.
So now i have the wheels turn by expression, the bike follows a spline with a path constraint. the biped biker moves the pedals (object space attachments of the limbs to the steer and the pedals)
BUT:
Problem:
1. in the expression for the steering movement i cannot retrieve the euler angle of a dummy on the path which indicates the curving direction. How do i get that angle, between two objects attached to a path with path constraint?
And, if i use a orientation constraint for the steer instead of the expression the steer turns on the path according to the curve, ok, but i cannot anymore retrieve the separate euler rotations of the steer which i am needing for the inclination of the bike.
so: expressions are not compatible with the constraints, or what?
2. If the curves of the path turn too far, the pedals will flip 180 degrees distorting the legs of the biped. When i use orientation constraint for the steer the same happens to the steer. Weird!!
Any workaround is welcome, including automated plugins!!!!
I just want to drive that d**n bike!!
I never imagined this would be so complex in max! :thumbsdow
edit: corrected question :
how do i retrieve the angle between two dummys at differnet points on the path?
This would solve the problem. The bike is attached with the rear wheel to the path, the front wheel steers towards the path........
sirius
:bounce:
