Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
enum ETeleportType
{
None,
TeleportPhysics,
ResetPhysics,
}
Name |
Description |
---|---|
None |
Do not teleport physics body. |
TeleportPhysics |
Teleport physics body so that velocity remains the same and no collision occurs |
ResetPhysics |
Teleport physics body and reset physics state completely |
Whether to teleport physics body or not