Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG? ObiSolver.parameters.gravity at runtime
#2
(24-03-2020, 10:56 PM)vartech Wrote: I am trying to modify the gravity parameter of my rope at runtime. In the inspector it updates the gravity accordingly, however the rope does not get affected in game. If I manually modify the gravity in the inspector by typing a number, the rope IS affected. Am I doing something wrong or is this a bug?

Thanks,
Tim

HI Tim,

You have to call solver.UpdateParameters(); to commit the changes to the native lib. This is done automatically when you change any field in the inspector.

cheers,
Reply


Messages In This Thread
RE: BUG? ObiSolver.parameters.gravity at runtime - by josemendez - 25-03-2020, 09:24 AM