Not too hard. (I believe.)
Assuming you were to use BodyGyro,
the bike will maintain balance with BodyGyro.
The bike will rotate around it's local y-axis to do a normal bike turn.
From a quick glance at how bike-riders actually drift on bikes... (had to look this up.)
I'd take a guess and say the bike-rider may need to "tilt" to one side to achieve a realistic-looking drift at a higher speed. (Rotation around forward/look vector.)
Once the bike is tilted, all vectors should probably be rotating around the global y-axis to achieve a turn with smaller turn radius. (bikecf*CFrame.fromAxisAngle would be useful here.)
Along with this, would probably be some braking to prevent too much momentum in one direction being conserved. (Not sure about this one.)
|