Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Custom Force to Match Object
#2
(25-10-2022, 12:31 AM)docgonzzo Wrote: I set all the rope's CP masses to 0. This is because as the rope moved/waved around, it was affecting the character's center of mass, making the control difficult.

You could enable the rigidbody's "kinematic for particles" checkbox. This will ensure the rigidbody is unaffected by Obi particles, but still allows the particles to have any mass and be affected by forces (and other rigidbodies that have this setting disabled). See:
http://obi.virtualmethodstudio.com/manua...sions.html

(25-10-2022, 12:31 AM)docgonzzo Wrote: I need the rope to also stick to this attracting object with the same force the character is attracted. Should I use the Solver.gravity or Solver.externalForces to control this?

This is an external sticking force, so using externalForces seems like the way to go.

(25-10-2022, 12:31 AM)docgonzzo Wrote: Also, what's the difference between using Solver.gravity and Solver.externalForces from the perspective of a particle?

Same as in the real world: gravity is not a force, but an acceleration. Force = acceleration x mass. The same force will have less effect on heavier objects, but gravity affects all objects equally regardless of their mass.

kind regards,
Reply


Messages In This Thread
Custom Force to Match Object - by docgonzzo - 25-10-2022, 12:31 AM
RE: Custom Force to Match Object - by josemendez - 25-10-2022, 07:21 AM
RE: Custom Force to Match Object - by docgonzzo - 26-10-2022, 12:22 AM
RE: Custom Force to Match Object - by josemendez - 26-10-2022, 07:52 AM
RE: Custom Force to Match Object - by docgonzzo - 27-10-2022, 12:06 AM
RE: Custom Force to Match Object - by josemendez - 27-10-2022, 07:39 AM