MoveBarrelTowards and MoveTurretTowards

I have MoveBarrelTowards and MoveTurretTowards functions. Ben Has just a MoveBarrelTowards with

Turret->Rotate(DeltaRotator.Yaw)

at the end of the definition. Did I miss something? Should I change it? I am on:
Refactoring our Aiming Component
Section 4, Lecture 168

I noticed it as Ben was adding pointer protection to
MoveBarrelTowards.

Since it is working I am leaving it, unless there is a reason I just don’t understand.

Thanks.

Privacy & Terms