Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Pinned to
#1
When following the tutorial (http://obi.virtualmethodstudio.com/tutor...setup.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)
Reply
#2
(17-06-2019, 08:06 AM)dutchman Wrote: When following the tutorial (http://obi.virtualmethodstudio.com/tutor...setup.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/tutor...aints.html
Reply
#3
(17-06-2019, 08:16 AM)josemendez Wrote: 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:


http://obi.virtualmethodstudio.com/tutor...aints.html

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
Reply
#4
(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?
Kind regards, Franklin

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/tutor...sions.html
Reply