Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create an arrow dynamically following the spline
#10
(03-20-2017, 09:07 AM)yandrako Wrote:
(03-01-2017, 12:05 PM)yandrako Wrote:
(01-26-2017, 11:46 AM)yandrako Wrote:
(01-18-2017, 07:36 PM)Jake Wrote: My knowledge of uGUI, especially when mixing with regular components, is limited. CurvyLineRenderer isn't any different than the regular LineRenderer script beside it fills the points array, that's all I can say - so it's unlikely that the problem is caused by our inherited LineRenderer.

Perhaps anyone else got a good idea!?


I tried a different approach. Now I add a new canvas with screen space - camera to the player and now I can see the cury line renderer on the camera. The problem is I cant see always, it dissapears when I look with the player (its an fps) to the front. If I look to the back or to both of sides I can see the curve, but there is a cone in front on the player that cant let me see the curve and no idea why.


Any ideas?

After lots of trying different options, I manage to accomplish what I intended. For that I had to attach the curvy spline with the line renderer to the player camera itself, instead to the UI canvas. I thought I finally get my happy ending but I have one last quality issue:

Now on game mode works perfect, but when I make the PC build and run the .exe, the line renderer seems to loose many of the positions from the curvy, only get some keypoints and interpolate rect lines between them. To explain myself better I add captures:

Working as intended in game mode

Not working correctly running .exe

Settings of the curvy + line renderer used (the spline have 3 cp)

I am really happy with the result of game mode, and it probably has to be some build setting but have no idea what it could be. Any know what could be?
Thank you again and sorry for all the messages I had to write.




Any ideas on this? Im still a bit lost and I think it has to be something simple Sad


Savior Jake, you there? xD
Reply


Messages In This Thread
RE: Create an arrow dynamically following the spline - by yandrako - 04-04-2017, 04:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Heart Create beautiful curves ShiroeYamamoto 3 11 03-26-2024, 06:25 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: