16-03-2021, 06:38 AM
(15-03-2021, 03:52 PM)josemendez Wrote: You can just set the solver gravity, it's pretty easy:hi thanks for replying. Can I know where do i put these code in which scripts? I know it sound stupid but i am a beginner in this .
Code:solver.parameters.gravity = <your accelerometer gravity>;
solver.UpdateParameters();
How to get the gravity value measured by the hardware varies depending on which input system you're using.