Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial?
#6
SO,

I've fixed the flying in the air issue,
it was a combination of having a rigidbody with Gravity and an Obi Collider .
For whatever reason this would enact all sorts of weird force onto the ball,
So ive removed the Collider entirely.

However, I can no longer enact force on this ball.
Prior to adding the OBISoftbody I was moving my ball through the scene with :

_rigidbody.AddForce(direction * BallFireForce, ForceMode.Impulse);

However, this no longer does anything. Probably being prevented from the OBI system.

I tried adding an ObiRigidBody to my script instead, but it does not have a AddForce method?

I went looking for docs on ObiSoftBodies how to move them, and ObiRigidBodies, but all i could find was : 
UpdateVelocities(linearDelta, angularDelta)

http://obi.virtualmethodstudio.com/api.html

I have no clue how to use these, it says it gets the velocities back from the solver? Is the Solver keeping track of my base rigidbodies velocity? This doesnt feel right

Thanks
Reply


Messages In This Thread
Tutorial? - by Havie - 13-09-2020, 10:24 PM
RE: Tutorial? - by josemendez - 14-09-2020, 08:06 AM
RE: Tutorial? - by Havie - 16-09-2020, 09:00 PM
RE: Tutorial? - by josemendez - 16-09-2020, 10:18 PM
RE: Tutorial? - by Havie - 17-09-2020, 08:10 PM
RE: Tutorial? - by josemendez - 18-09-2020, 07:01 AM
RE: Tutorial? - by Havie - 18-09-2020, 12:14 AM
RE: Tutorial? - by josemendez - 18-09-2020, 07:10 AM
RE: Tutorial? - by Havie - 18-09-2020, 09:12 PM
RE: Tutorial? - by josemendez - 18-09-2020, 09:44 PM
RE: Tutorial? - by Havie - 19-09-2020, 04:24 PM
RE: Tutorial? - by josemendez - 19-09-2020, 05:32 PM
RE: Tutorial? - by Havie - 19-09-2020, 10:41 PM
RE: Tutorial? - by josemendez - 20-09-2020, 12:57 AM
RE: Tutorial? - by Havie - 20-09-2020, 01:21 PM
RE: Tutorial? - by Havie - 20-09-2020, 04:18 PM
RE: Tutorial? - by josemendez - 20-09-2020, 07:20 PM
RE: Tutorial? - by Havie - 21-09-2020, 07:02 PM
RE: Tutorial? - by josemendez - 21-09-2020, 08:03 PM
RE: Tutorial? - by josemendez - 22-09-2020, 02:21 PM