-
Notifications
You must be signed in to change notification settings - Fork 7
AnimNotify_GameplayCue Looping #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AnimNotify_GameplayCue Looping #390
Conversation
UGameplayCueFunctionLibrary::AddGameplayCueOnActor( owning_actor, GameplayCueTag, Parameters ); | ||
FGameplayCueParameters gameplay_cue_parameters; | ||
|
||
if ( bUseLineTraceToFeelParameters ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be bLineTraceToFillParameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😮 I was filling there was a problem when I wrote this
Done
UPROPERTY( EditAnywhere, Category = "GameplayCue", meta = ( Categories = "GameplayCue", AllowPrivateAccess ) ) | ||
FGameplayCueParameters Parameters; | ||
UPROPERTY( EditAnywhere, Category = "Parameters", meta = ( AllowPrivateAccess ) ) | ||
uint8 bUseLineTraceToFeelParameters : 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be a boolean, no need for a uint8 : 1 anymore. and should be initialized to false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Added opitons to AnimNotifyGameplayCue_looping class to be able to fill the gameplaycue parameters with a Line trace's hit result. ( most important here is the physical material, it is very usefull to manage the GC's surface restriction spawn condition )