|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
Push things rather than teleporting them. More...
Functions | |
| SH_API int | ShGetVelocity (uint64_t entity, ShVec3 *out) |
| Pass an entity, never a body id: an entity owns several bodies and these calls write every one of them. | |
| SH_API int | ShSetVelocity (uint64_t entity, const ShVec3 *v) |
| SH_API int | ShAddVelocity (uint64_t entity, const ShVec3 *v) |
| SH_API int | ShGetAngularVelocity (uint64_t entity, ShVec3 *out) |
| Radians a second about each world axis. | |
| SH_API int | ShSetAngularVelocity (uint64_t entity, const ShVec3 *v) |
| SH_API int | ShAddAngularVelocity (uint64_t entity, const ShVec3 *v) |
| SH_API int | ShShove (uint64_t entity, const ShVec3 *dir, float strength, const ShVec3 *atWorldPos) |
| A push at a world point, shoving and spinning like a hit on a corner. | |
| SH_API int | ShCanMove (uint64_t entity) |
| True when velocity moves this entity. | |
Push things rather than teleporting them.
Pass an entity, never a body id: an entity owns several bodies and these calls write every one of them.
Metres a second, world axes, Z up. Clamped to 200.
Radians a second about each world axis.
| SH_API int ShShove | ( | uint64_t | entity, |
| const ShVec3 * | dir, | ||
| float | strength, | ||
| const ShVec3 * | atWorldPos ) |
A push at a world point, shoving and spinning like a hit on a corner.
NULL point gives a pure shove.
| SH_API int ShCanMove | ( | uint64_t | entity | ) |
True when velocity moves this entity.
Characters run on a controller that ignores it, resting bodies sleep.