Tags: yasirkula/UnityBezierSolution
Tags
- Added 'Quick Edit Mode" to BezierSpline: in this mode, new points c… …an quickly be added/inserted to the spline and the existing points can be dragged around/snapped to the scene geometry - Added BezierSpline.GeneratePointCache function to calculate evenly spaced points along the spline. Instead of calling the function with default parameters, use the 'pointCache' property instead which is cached and is updated automatically when spline is modified. If a spline is rarely modified at runtime, then point cache can be used to get points, tangents, normals, etc. along the spline in a cheaper and uniform way - Added an optional second pass to FindNearestPointTo functions for greatly increased accuracy - Added 'Invert Spline' button to BezierSpline's context menu which inverts the order of the end points - Added 'version' property to BezierSpline which is automatically increased whenever the spline's properties change - Added per-setting Reset buttons to the plugin's settings - Removed GUILayer and FlareLayer components from demo scene
BREAKING CHANGE: If you parented ParticlesFollowBezier to its spline … …or vice versa, particle system's rotation may change after the update. Instead of parenting, consider using BezierAttachment component (see demo scene) - "Always" option for "Auto Construct Spline" and/or "Auto Calculate Normals" buttons now have runtime support (i.e. it is no longer an editor-only functionality) - Added onSplineChanged event to BezierSpline to get notified when spline is modified - Added CalculateEvenlySpacedPoints function to find uniformly spaced normalizedT values on the spline (it returns a lookup table with convenience functions). Instead of calling the function with default parameters, use the 'evenlySpacedPoints' property instead which is cached and is updated automatically when spline is modified - Added BezierLineRenderer component that synchronizes a Line Renderer with a spline - Added BendMeshAlongBezier component that deforms a mesh to bend it in the direction of a spline - Added BezierAttachment component that moves/rotates an object together with a spline - Added "High Quality" option to BezierWalkerWithTime and BezierWalkerLocomotion components that will tradeoff quality with performance - Added "Bezier Solution" section to Project Settings (Preferences on older Unity versions) to customize the Scene view gizmos - Added tooltips to important variables and buttons - Added read-only "spline" and "index" properties to BezierPoint - Updated demo scene
PreviousNext