Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select Point in Scene

I have a custom EditorWindow in which I would like to get the position of a control point. 
1) How can I select a control point on a curve? I only can select the whole curve when clicking in the scene?
2) Can I register to some event to get the point that is selected? 

Thank you
1) You are supposed to be able to select a single control point. Can you tell me what Unity and Curvy versions you are using? Also do you have reproduction steps/project to share?
2) Control points are regular game objects, so the usual unity methods to get selection and events apply here too. Please look at the Selection class:
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline.Length not updated unless I add a point to spline (or modify it) first. _RicO 3 6 08-26-2023, 08:41 AM
Last Post: _Aka_
  How do I get the closest Spline Control Point Lupos 2 13 05-12-2023, 01:59 AM
Last Post: Lupos
  Animating a shape on along a spline will not playback in scene or game views sam_bond 3 9 05-03-2023, 11:41 AM
Last Post: _Aka_
  How to get direction of last control point? _RicO 4 17 04-13-2023, 11:27 AM
Last Post: _Aka_

Forum Jump: