17-12-2019, 02:25 PM
(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>);
}
}