Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to change the look direction of a character at end of path
#1
I tried 

m_OnEndReached.AddListener(Listener);

private void Listener(CurvySplineMoveEventArgs arg0)
{
    //transform.Rotate(transform.rotation.x,180, transform.rotation.z);
    transform.rotation = Quaternion.Euler(transform.rotation.x,180, transform.rotation.z);
}


in SplineController..

I get the callback but the object never rotates?
Reply


Messages In This Thread
how to change the look direction of a character at end of path - by ninadpradhan - 12-16-2020, 05:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Duplicate Prefab along path rickgplus 1 1,548 01-23-2025, 10:09 AM
Last Post: _Aka_
  Can't set CG Path Controller j95677 4 3,254 10-04-2024, 06:55 PM
Last Post: j95677
  Rasterized Path Range issue proton 7 4,265 04-30-2024, 11:17 AM
Last Post: _Aka_
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 5,150 04-17-2024, 10:57 AM
Last Post: _Aka_

Forum Jump: