Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Begginer questions
#5
1.) Yeah, see the GUI example scene. The buttons and the label are using the Animate feature, i.e. they move a delta, then move back. But the same Animation feature can be used to move a certain distance and then stop, including slowdowns and other tweanings.

2.) Triggers are one way, another one would be to utilize controller events such as OnEndCPReached/OnCPReached. Then you get a callback each time the controller moves over a CP and you can switch splines there. Use connections to easily access the next/previous spline in question. For some examples, see CurvyDefaultEventHandler.cs.
Reply


Messages In This Thread
Begginer questions - by Szagi - 03-18-2016, 03:55 PM
RE: Begginer questions - by Jake - 03-18-2016, 08:30 PM
RE: Begginer questions - by Szagi - 03-21-2016, 10:07 AM
RE: Begginer questions - by wollong - 03-22-2016, 02:13 AM
RE: Begginer questions - by Jake - 03-22-2016, 10:14 PM
RE: Begginer questions - by Szagi - 04-01-2016, 08:15 PM
RE: Begginer questions - by Jake - 04-03-2016, 08:44 AM
RE: Begginer questions - by Szagi - 06-01-2016, 07:29 AM
RE: Begginer questions - by Jake - 06-04-2016, 02:14 PM
RE: Begginer questions - by Szagi - 06-06-2016, 06:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 4,384 01-20-2025, 12:25 PM
Last Post: _Aka_
  Questions before buying erk13 3 2,556 05-15-2024, 10:38 PM
Last Post: _Aka_
  Scene 51 questions lukasynthetic 3 2,266 06-22-2022, 04:12 AM
Last Post: _Aka_
  Spline editing questions giollord 5 3,435 12-04-2021, 02:24 PM
Last Post: _Aka_

Forum Jump: