Announcement

Collapse
No announcement yet.

aligin player to surface and move on it

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    aligin player to surface and move on it

    Hi,
    I try figure out how stick player to sphere and move on it like in photo, its not mine I watch this on youtube, I use funktion trace by chanel but player sometimes lost conect and stay this strange position. Do you have any idea how make this in blueprint?
    Last edited by 0805slawek; 06-24-2019, 01:51 AM.

    #2
    Are you supposed to be walking on it?
    is your gravity disabled in movement component or via blueprint when you start to walk on the sphere?

    The idea is simple, adjust the root bone to match the angle of the floor normal.

    Normal x cross of z -1 should return the angle. Maybe normalize it too.

    Comment


      #3
      Originally posted by MostHost LA View Post
      Are you supposed to be walking on it?
      is your gravity disabled in movement component or via blueprint when you start to walk on the sphere?

      The idea is simple, adjust the root bone to match the angle of the floor normal.

      Normal x cross of z -1 should return the angle. Maybe normalize it too.
      I forget write my character can walk only <90 angle, so you mean disable gravity and after trace by chanel set root bone to normal and that it?

      Comment

      Working...
      X