Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Changing solver gravity vector has no effect on particles
#2
Hi!

It is no longer necessary to access the internal parameters struct and push the parameters manually. Use solver.gravity directly, like this:

Code:
solver.gravity = myGravityVector;

Note you can also choose whether the gravity is expressed in local or world space, changing solver.gravitySpace. See the API docs for details.
Reply


Messages In This Thread
RE: Changing solver gravity vector has no effect on particles - by josemendez - 13-05-2024, 08:26 PM