Rotating with SetFocalPoint( ) in C++

Hello everyone!
The video suggest to create the behaviour tree task in Blueprint, but I really want to improve my c++ skills so I made the task in c++. Here follows some prints of my code !
.h
image

.cpp
image

1 Like

I did the same thing, got a bit confused about how to add the focal point location initially and just set it to the origin to begin with.

Only problem is that the guard then immediately looks away when he starts moving… not sure why?

Privacy & Terms