I have a two wheeled vehicle. When making turns, it leans into the curve (nothing had to be done to achive this really, it worked automaticaly). However after having leaned into a sharp turn, when going upright again, it oscillates a lot, to the extent that it looks ridiculous. I'd like it to just smoothly go back upright without any oscillations.
There are severeal variables that are inherited from the SVehicle class, that seem to be related (judging from the names). However, I have a hard time actually understanding what they do and how I should think when tweaking. For instance, we have bStayUpright; StayUprightRollResistAngle;StayUprightPitchResistA ngle; StayUprightStiffness; StayUprightDamping;
And what are these constraints, and how do I use them?
RB_StayUprightSetup StayUprightConstraintSetup;
RB_ConstraintInstance StayUprightConstraintInstance;
I'm blindly trying different settings, and most of the times nothing happens at all when chaning something (even by radical amounts), which makes me think I'm missing something (constrains, some important bools?), making the changes ineffective.
I'd be very grateful if someone could explain how this works. The documentation didn't help me that much unfortunately (http://wiki.beyondunreal.com/UE3:SVe...ties_%28UDK%29).
There are severeal variables that are inherited from the SVehicle class, that seem to be related (judging from the names). However, I have a hard time actually understanding what they do and how I should think when tweaking. For instance, we have bStayUpright; StayUprightRollResistAngle;StayUprightPitchResistA ngle; StayUprightStiffness; StayUprightDamping;
And what are these constraints, and how do I use them?
RB_StayUprightSetup StayUprightConstraintSetup;
RB_ConstraintInstance StayUprightConstraintInstance;
I'm blindly trying different settings, and most of the times nothing happens at all when chaning something (even by radical amounts), which makes me think I'm missing something (constrains, some important bools?), making the changes ineffective.
I'd be very grateful if someone could explain how this works. The documentation didn't help me that much unfortunately (http://wiki.beyondunreal.com/UE3:SVe...ties_%28UDK%29).
Comment