You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.7 KiB

7 years ago
  1. BG Curve v.1.2.2 by BancheeGz (12/2016)
  2. Bezier spline editor for Unity
  3. License: MIT License
  4. www.bansheegz.com/BGCurve
  5. support email: banshee.gzzz@gmail.com
  6. =====================================================
  7. -----------------------------------------------------
  8. Package structure:
  9. -----------------------------------------------------
  10. Curve - basic curve's classes + math (distance, positions, tangents, position by closest point).
  11. Components - components are meant to add some functions to curve without any scripting.
  12. Examples - examples and tests for different use-cases.
  13. -----------------------------------------------------
  14. Quick tips:
  15. -----------------------------------------------------
  16. 1) To create a curve chose GameObjecty->Create Other->BG Curve or AddComponent and search "BGCurve".
  17. 2) You can learn a lot by looking at fields tooltips and contextual tips in the editor. Example scene could also be helpfull.
  18. 3) You can save & load curve settings on/from disk.
  19. 4) You can select several points and perform group operations. Hold shift to use rectangular selection.
  20. 5) Use components- they are meant to work without any additional scripting.
  21. 5) BGCurve class does not contain any Math operations- to use Math- add BGCcMath component
  22. 6) Use 2D mode if needed, it helps with 2d curves.
  23. 7) Use Lock view to disable selecting of any object except curve's points.
  24. 8) Use point's and selection menus in Scene View (hold Ctrl and hover over a point or selection's center).
  25. 9) Use standard Unity's AnimationView to animate splines
  26. 10) View demo video.
  27. =====================================================
  28. Versions History:
  29. -----------------------------------------------------
  30. Version 1.2 changes:
  31. -----------------------------------------------------
  32. Animation support
  33. Custom fields for points
  34. Snapping (to terrain etc.)
  35. New components (Scale and Triangulate)
  36. New approximation type (Adaptive)
  37. Base math switched to fastest algorithm available for approximation (25% faster)
  38. Components (ChangeCursor and Rotate) are upgraded to support custom points fields
  39. Points store options (inlined, component, gameobjects)
  40. -----------------------------------------------------
  41. Version 1.1 changes:
  42. -----------------------------------------------------
  43. Components are added (for using without scripting)
  44. Rectangular selection for points.
  45. Context menu for points and selections in SceneView.
  46. BGCurveBaseMath optimization.
  47. New points now has preview in Scene View before adding.
  48. Point creation now respect tangents, controls are scaled properly, in 2D mode Ctrl+Click now respects curve's 2D plane, rather than some mesh.
  49. Show tangents option in SceneView
  50. Examples are reworked.
  51. Minor bugs fixing.
  52. code cleanup and refactoring.
  53. Unity 5.4 compatibility