Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple softbodys not interacting
#5
(17-12-2019, 02:25 PM)josemendez Wrote: AddForce is a function you can call on a softbody. So, just write a script that calls it:

Code:
using Obi;

public class Force
{

public ObiSoftbody softbody;

void FixedUpdate()
{
softbody.AddForce(<your force here>);
}
}
thanks very much, easy if you know how...unfortunately  i dont know how....my scripting knowledge is based on using other peoples scripts and adapting what i can...i tried doing something with the code above, no luck. If such a script already exists, i would be grateful if i could just drag it on to the objects i want to move.
Reply


Messages In This Thread
multiple softbodys not interacting - by Duncano - 17-12-2019, 01:12 PM
RE: multiple softbodys not interacting - by Duncano - 17-12-2019, 04:03 PM