[FONT=Comic Sans MS]Teleport Actor To Actor
can be used after ending ragdoll, to send the player to a player start, or a trigger, a check point, or any actor really
My node causes the player to face the exact rotation of the playerstart/trigger/checkpoint/ other actor
Returns false if one of the inputs was not valid.
Enjoy!
**C++ Source Code**
Remember I always include the entire C++ source code for of the Victory BP Library Nodes in the actual plugin download!
Here's the .cpp for new node
```
bool UVictoryBPFunctionLibrary::Actor__TeleportToActor(AActor* ActorToTeleport, AActor* DestinationActor)
{
if(!ActorToTeleport) return false;
if(!ActorToTeleport->IsValidLowLevel()) return false;
if(!DestinationActor) return false;
if(!DestinationActor->IsValidLowLevel()) return false;
//Set Loc
ActorToTeleport->SetActorLocation(DestinationActor->GetActorLocation());
//Set Rot
ActorToTeleport->SetActorRotation(DestinationActor->GetActorRotation());
return true;
}
```