Add Yaw Input don't work When call from PlayerController EventTick

image
image

when i use Mouse X it can rotate,but when i chang nothing but use Event Tick it don’t work

2 Likes

Welcome to the community, I hope all is well.
In regards to your MouseX/EventTick concern:

It it likely because your Mouse X is taking in Delta Seconds instead of an axis value.
Delta Seconds in regards to the Event Tick should only give you non negative value that increments as each frame is processed.

Axis Value will give you a result from negative to positive depending on which direction you swivel your mouse.

Here is a quick exercise:
Connect a Print String node to your MouseX and feed the axis value from MouseX to the InString value of the Print string node.
Press [Play]
Observe how the value changes as you move your mouse around.

Also: Event Tick fires each frame. MouseX will fire when you move your mouse. You can find this input under Project Settings > Input >Axis Mappings.

1 Like

thank you for your reply,i got you,but even though test with constant value,it still not work,and i test in a blank project,I’m sure there are no other distractions
image

From what I can see here, you have not connected a value to your Add Yaw Input node. The input is not going to do anything without a value input. Example: observe the attached image:
Mouse X is outputting a negative or positive float to feed the ‘Add Yaw Input’ node as you move your mouse.

image
i set the add yaw input value as 100,i think it’s more stable than mouse x input.
and i notice that you test in pawn blueprint,i wish you could test this in playercontrller.

Player controller

Thank you for the continued dialogue.
I find that this also works in the Player controller.

i want to use eventtick to make auto rotate in player controller

1 Like