Well thanks anyway
work on this full day. but I can do this for few days more
I’ve got a try
Umm… I think you misunderstood. I didn’t say I give up. I just said that I will be able to help you if you share the necessary screenshots (the corrected code that I suggested, which you can see from the video I’ve sent, and also how and where do you execute your custom event)
Instead of using make rotator, call get actor rotation, split pins, add or subtract from z, then plug in to the move component node
I didn’t know this simple logic solve my issue.
Thanks a lot.
I can’t control the rotate direction like CW or CCW tho.
it’s not a big deal for now.
Thanks for not givp up on me
Ah sorry. I just tried Every one’s method.
So it’s my fault to not showing you of your exact solution.
I solved with the ‘Move Component To’ Tool tho.
Thank you for not give up on me. really.
You indeed helped me a lot.
Thanks and have a good day
What do you mean by CW/CCW? Might be another simple solution
AH I mean CW (Clock wise) and CCW (Counter Clock wise)
It’s like NPC just shorten the path to rotate.
It rotate CCW direction -150 degree first when I actually type -150 degree in the node,
but it rotate CW 150 degree when I actually type -210 degree in the node
So What I want to do is … I want NPC rotate CCW direction When I type -210 degree in the node.
Gotcha, what you may be looking for is the “add rotation” node. You could also utilize a rotating movement component
I can’t find ‘add rotate’ node
so I create ‘add rotating movement Component’
I don’t know where to plug this…hmmm
Currently. my Ai roate -150 degree and rotate circle infinite
With the rotating movement component youd have to manually start and stop it, get rotation, test if it’s at desired degrees, if do disable component. “Add rotation” I think may be a function of the character movement component
Thanks for tipping sir.
But honestly. I don’t get it at all.
I don’t know how to start and stop it manually. I didn’t have any experienced with this node.
And how can I disable the component it has when it reached the desired degree?
Do you have picture of using this node for logic?
Pull the component reference to BP, pull off pin, search disable. I’m at work I’ll post a picture later when I get home
Oh ! take your time Thank you for helping me
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.