Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Static Mesh Component*/
- UPROPERTY(VisibleAnywhere)
- UStaticMeshComponent* SM;
- /*OnHit functions is called when the FallingActor hits something - PRE 4.12 version */
- UFUNCTION()
- void OnHit(AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
- /*OnHit function is called when the FallingActor hits something - 4.12+ version */
- UFUNCTION()
- void OnHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
- /*ReceiveHit functions is called when the FallingActor gets hit by something */
- UFUNCTION()
- void ReceiveHit(UPrimitiveComponent* MyComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement