Announcement

Collapse
No announcement yet.

When actor is at (x) yaw value, do (x)

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

    When actor is at (x) yaw value, do (x)

    Hi,

    I have a bit of a noob question. I'm currently making a puzzle where the player has to turn a device which rotates an object to match the shadow of another object. I currently have it set up so that the object is being rotated on a timeline when the player enters the levers trigger box and holds 'Q'.

    I want a custom event to fire off when the object reaches a certain yaw value (1). I've set up an event tick that shows a print string of the current rotation, however I don't understand how to grab these values and make it so that if the value is 1, then run the custom event node.

    Any help is appreciated ^^
    Thanks

    #2
    I'm not sure if I understand you right but it sounds you wrote your code already in the question (almost) xD. GetActorRotation >= 1.0 -> Branch -> Do Once > CustomEventName

    Comment

    Working...
    X