Created
July 11, 2016 05:14
-
-
Save michaeltchapman/c01e20d07de0ba6892bbd8f004860f88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LookAtComponent = NewObject<USceneComponent>(this, USceneComponent::StaticClass()); | |
FAttachmentTransformRules ATR = FAttachmentTransformRules(EAttachmentRule::SnapToTarget, false); | |
LookAtComponent->AttachToComponent(GetRootComponent(), ATR); | |
LookAtComponent->RegisterComponent(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment