Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Disabling Particle and obi collisions in run time.
#4
(20-03-2018, 09:55 AM)Gieve Wrote: Interesting, as that is what I had in my code word for word, and yet it visibly disables the components in the solver inspector but the collisions continue regardless.

EDIT: To give you the full scope of what I am striving to achieve, I have a UI toggle that sets a bool for if the collisions should be set or not in the ropes generator, I set the parameters for the rope and set the obisolver collisions to reflect the value that was altered by the ui toggle.

The ropes only use the collision parameters at the time of starting the game, although when the parameters are set by the generation code the solvers inspector changes but the collisions only act depending on the solvers components state at first run.

I am using solver.updateParameters() but the parameters are not updating correctly.

Hi there,

This exact code I posted works fine for me in 3.2, 3.3 and 3.3.1. Can you post yours?
Reply


Messages In This Thread
RE: Disabling Particle and obi collisions in run time. - by josemendez - 20-03-2018, 11:45 AM