(14-02-2019, 08:52 AM)josemendez Wrote: Yes. Simply set the desired inverse mass values in case of fixed particles (0 for a fixed particle, any positive value for a non-fixed particle):
http://obi.virtualmethodstudio.com/tutor...icles.html
In case of pin constraints, just use the API to remove them:
http://obi.virtualmethodstudio.com/tutor...aints.html
I copied code like the image and added. Some two errors happened."Assets\AddConstraints.cs(14,50): error CS0411: The type arguments for method 'Component.GetComponent<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly." and "Assets\AddConstraints.cs(15,76): error CS0021: Cannot apply indexing with [] to an expression of type 'IEnumerable<ObiConstraintBatch>'". How can I solve the errors.
(14-02-2019, 09:12 AM)Richard Wrote: I copied code like the image and added. Some two errors happened."Assets\AddConstraints.cs(14,50): error CS0411: The type arguments for method 'Component.GetComponent<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly." and "Assets\AddConstraints.cs(15,76): error CS0021: Cannot apply indexing with [] to an expression of type 'IEnumerable<ObiConstraintBatch>'". How can I solve the errors.