Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make cross 4 way
#1
I need know how i can toggle the heading of control point in connection for make 4 way change direction on control point reached

? it's clear ?
Reply
#2
If you move a SplineController over a connection. Then you have to add the DefaultEventHandler Script to the SplineController GameObject.
It's done in the Curvy Demo 03. On > Plane Controller game object. In the DefaultEventHandler (copy would be nice) you can see how to set .FollowUp Segment the SP will continue.

I stuck here also because I cannot set the new destination Segment.FollowUP (where the SP should drive) to the segment where it comes from. If you want to move back over the connection you already ran, then the segment has ANY UNWANTED direction.
(Henry Ford) Each hour more of searching is each hour less of your live time.

Reply
#3
CurvySplineMoveEventArgs contains a method "Follow()" you should use to set a new path inside a OnControlPointReached event.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I want to make the beginning and end of a mesh translucent. yanke 3 4 05-21-2022, 11:53 AM
Last Post: _Aka_
  How do I make the computer ignore it's parent transform? eastes 3 7 04-06-2022, 12:16 PM
Last Post: _Aka_
  how to make the lines disappear little by little ? Zik Dipa 1 5 01-11-2022, 09:26 PM
Last Post: _Aka_
Brick Extending Curvy to make a Hallway editor. JacobSL 3 381 10-13-2021, 05:09 PM
Last Post: _Aka_

Forum Jump: