GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
Loading...
Searching...
No Matches
Ground

Height through engine physics, near the player. More...

Macros

#define SH_STREAM_RADIUS   1500.0f
 Collision exists only near the player.

Functions

SH_API int ShPhysicsReady (void)
 Predicate only, never installs anything.
SH_API int ShGroundHeight (float x, float y, float *outZ)
SH_API int ShGroundHeightFrom (float x, float y, float nearZ, float *outZ)
 Probe from a given height, for stacked geometry like bridges and caves.
SH_API int ShTeleportPlayerToGround (float x, float y, float clearance)

Detailed Description

Height through engine physics, near the player.

Macro Definition Documentation

◆ SH_STREAM_RADIUS

#define SH_STREAM_RADIUS   1500.0f

Collision exists only near the player.

Measured live: hits at 1500m, nothing at 2000m.

Function Documentation

◆ ShPhysicsReady()

SH_API int ShPhysicsReady ( void )

Predicate only, never installs anything.

◆ ShGroundHeight()

SH_API int ShGroundHeight ( float x,
float y,
float * outZ )

◆ ShGroundHeightFrom()

SH_API int ShGroundHeightFrom ( float x,
float y,
float nearZ,
float * outZ )

Probe from a given height, for stacked geometry like bridges and caves.

◆ ShTeleportPlayerToGround()

SH_API int ShTeleportPlayerToGround ( float x,
float y,
float clearance )