Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replacing object at start position on (circle) spline
#1
Hello,

I am working on a game that uses the circle spline. I have my object going around it as I would like but when the player loses and restarts I need to reset the position of the gameobject I have attached to the spline. I don't want to reset it by resetting the scene everytime as it isn't needed for the rest of the game.

I am unsure what variables to use/call in order to get this done. I tried using the actual transform of the object but that just does not work. Do I need to change the cached variables in order to reset it by the press of a button?

Thanks.
Reply
#2
I guess you have a SplineWalker component (or the corresponding Custom Action) attached to your object. So you just have to set the position property (TF) to 0.
Reply
#3
Fantastic. Thanks you very much.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 312 11-13-2025, 11:32 AM
Last Post: _Aka_
  Create Game Object Renaming Options rickgplus 1 638 09-23-2025, 09:33 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,677 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,152 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: