Announcement

Collapse
No announcement yet.

Enemy Yaw rotation 60ª

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

  • replied
    Try getting a variable multiplier on the delta seconds. Say your actor rotates from -60 to 60, when he reached greater than 60, update the variable to be negative equivalent. When it reaches less than -60 set the variable i said earlier to be a positive. You can just use a multiply by -1 to switch the signs. Sorry if I misinterpreted your question.
    Last edited by Agent Sckit; 11-22-2019, 06:40 AM.

    Leave a comment:


  • started a topic Enemy Yaw rotation 60ª

    Enemy Yaw rotation 60ª

    Hi,

    I want my enemy to rotate -+60 º, whenever he reachs max rotation he turns to the opposite side.

    Right now I am rotating the enemy 360º, how can I set a range of -60, +60? I already tried with float in range and some nodes like this but it's not working for me.

    Thanks!
Working...
X