Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Gyroscope in fluid
#3
(15-03-2021, 03:52 PM)josemendez Wrote: You can just set the solver gravity, it's pretty easy:

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.
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 .
Reply


Messages In This Thread
Gyroscope in fluid - by enchu_99 - 15-03-2021, 03:37 PM
RE: Gyroscope in fluid - by josemendez - 15-03-2021, 03:52 PM
RE: Gyroscope in fluid - by enchu_99 - 16-03-2021, 06:38 AM
RE: Gyroscope in fluid - by josemendez - 16-03-2021, 08:06 AM