Help Pinned to - 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 Pinned to (/thread-1228.html) |
Pinned to - dutchman - 17-06-2019 When following the tutorial (http://obi.virtualmethodstudio.com/tutorials/ropesetup.html) attaching a cube to Obi Rope, When I drag the cube into the field of the "Pinned to:" it is not submitted into the field. New to all of this, I'm sure it's a beginner's mistake, need some help. Thank you. (MacOS) RE: Pinned to - josemendez - 17-06-2019 (17-06-2019, 08:06 AM)dutchman Wrote: When following the tutorial (http://obi.virtualmethodstudio.com/tutorials/ropesetup.html) attaching a cube to Obi Rope, When I drag the cube into the field of the "Pinned to:" it is not submitted into the field. New to all of this, I'm sure it's a beginner's mistake, need some help. Thank you. (MacOS) Hi, The object you want to pin a particle to needs to be a ObiCollider. Add a ObiCollider component to the object first, then drag it into the "pinned to" slot. Quote from the manual: Quote:To add a new pin constraint, select the particle (or particles) you wish to pin to a ObiCollider, and then, in the Pin Constraints component inspector, click "Add Pin Constraint". A new constraint(s) will be added to the selected particle(s). Then, you can assign a ObiCollider to each constraint. http://obi.virtualmethodstudio.com/tutorials/pinconstraints.html RE: Pinned to - dutchman - 17-06-2019 (17-06-2019, 08:16 AM)josemendez Wrote: Hi, Hi Jose, thank you so much for your quick response, now it works! The software says to first add a 'Box Collider' before adding the Obi Collider script, correct? Kind regards, Franklin RE: Pinned to - josemendez - 17-06-2019 (17-06-2019, 08:51 AM)dutchman Wrote: Hi Jose, thank you so much for your quick response, now it works! The software says to first add a 'Box Collider' before adding the Obi Collider script, correct? Hi, ObiCollider is a component that tells Obi to add any existing collider to the particle simulation. So in order to add it, your object must already be a regular Unity collider. There's many existing collider types: BoxCollider, SphereCollider, CapsuleCollider, etc. As long as your object has any of these components, you can add a ObiCollider. See: http://obi.virtualmethodstudio.com/tutorials/collisions.html |