◆ GetPlayerRootForTeleporting()
◆ OnRPC()
◆ OnRPCSetPlayerDirection()
◆ OnRPCSetPlayerPosition()
◆ SetPlayerDirection()
◆ SetPlayerPosition()
References dBodySetAngularVelocity(), GetGame(), GetPlayerRootForTeleporting(), Math::PI, Math::RAD2DEG, Math::RandomFloat(), SetVelocity(), CGame::SurfaceGetSeaLevel(), and vector::Zero.
Referenced by OnRPCSetPlayerPosition(), PluginBase::Teleport(), TeleportAtCursor(), and TeleportAtCursorEx().
◆ TeleportAtCursor()
static void TeleportAtCursor |
( |
| ) |
|
|
inlinestaticprivate |
References Class::CastTo(), vector::Distance(), DiagMenu::GetBool(), CGame::GetCurrentCameraDirection(), CGame::GetCurrentCameraPosition(), GetGame(), GetPlayer(), DeveloperFreeCamera::IsFreeCameraEnabled(), Debug::LogWarning(), DayZPhysics::RaycastRV(), SetPlayerPosition(), and TELEPORT_DISTANCE_MAX.
◆ TeleportAtCursorEx()
static void TeleportAtCursorEx |
( |
| ) |
|
|
inlinestaticprivate |
References Class::CastTo(), DiagMenu::GetBool(), CGame::GetCurrentCameraDirection(), CGame::GetCurrentCameraPosition(), GetGame(), GetPlayer(), DeveloperFreeCamera::IsFreeCameraEnabled(), SetPlayerDirection(), SetPlayerPosition(), DayZPhysics::SphereCastBullet(), and TELEPORT_DISTANCE_MAX_EX.
Referenced by DeveloperFreeCamera::DisableFreeCamera(), and PluginBase::TeleportAtCursor().
◆ TELEPORT_DISTANCE_MAX
protected const float TELEPORT_DISTANCE_MAX = 1000 |
|
staticprivate |
◆ TELEPORT_DISTANCE_MAX_EX
protected const float TELEPORT_DISTANCE_MAX_EX = 500 |
|
staticprivate |
The documentation for this class was generated from the following file: