Assign target to follow in "Framed" mode #223
-
Hello, everyone! If you need more explanation please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not a basic question at all! Normally, you can assign a follow target using the setter method: However, due to bugs with this particular It's one of the things planned to be properly addressed in #161 |
Beta Was this translation helpful? Give feedback.
Not a basic question at all!
Normally, you can assign a follow target using the setter method:
pcam.set_follow_target_node(your_follow_target)
However, due to bugs with this particular
follow mode
, it will not work particularly well when done so via code. Partly because the distance offset is only being calculated in the editor and the reframing bugs out unless the target is within the dead when you assign the follow target. You can get around it by manually offsetting thePCam3D
's position and rotating it towards where the follow target will be right before you assign the follow target.It's one of the things planned to be properly addressed in #161