Obi Official Forum
Help how can i set collision material and self collisions in script - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help how can i set collision material and self collisions in script (/thread-2634.html)



how can i set collision material and self collisions in script - FZMv587 - 14-12-2020

as the title how can i set      collision material and self collisions     in script.
Please give me some information.


RE: how can i set collision material and self collisions in script - josemendez - 14-12-2020

(14-12-2020, 08:58 AM)FZMv587 Wrote: as the title how can i set      collision material and self collisions     in script.
Please give me some information.

See the API docs:
http://obi.virtualmethodstudio.com/api.html

Code:
rope.collisionMaterial = <your material>;