Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple softbodys not interacting
#4
(17-12-2019, 02:10 PM)Duncano Wrote: is there a script for this?, i cant seem to find how to apply this softbody.Addforce? ( forgive my rubbishness...i know nothing of scripting)

loving the product by the way, its pretty incredible
this is what im fiddling with...i just want to have some cells that dont get attracted the same force.

https://vimeo.com/379996728/7187a632e3

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>);
}
}
Reply


Messages In This Thread
multiple softbodys not interacting - by Duncano - 17-12-2019, 01:12 PM
RE: multiple softbodys not interacting - by josemendez - 17-12-2019, 02:25 PM