09-10-2023, 08:05 AM
(This post was last modified: 09-10-2023, 08:05 AM by josemendez.)
(09-10-2023, 07:51 AM)rohit_dhak Wrote: For proper rope behavior I added particle attachment to the rope, however I am struggling to align the control points to the objects center.
Is there any simpler way to do it in the editor?
Hi,
You can use Unity's usual snapping tools while moving control points around. Eg: pressing "V" will allow you to snap control points to object vertices. Using Shift+Control (or Cmd in Mac) will snap the control points to object surfaces.
You can also copy/paste transform positions to the control point's position field (note that these are expressed in the rope's local space, so you'll need to convert the values by hand unless the rope is at 0,0,0 which can be cumbersome)
kind regards,