Why use it
It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `move` as part of the gameplay api module.
static MoveSample move(ObjectId actor,GameplayVector3 displacement,uint32_t mask)Performs `move` as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
actor | ObjectId | Value supplied for actor. Keep referenced or pointed-to data valid for the complete call. |
displacement | GameplayVector3 | Value supplied for displacement. Keep referenced or pointed-to data valid for the complete call. |
mask | uint32_t | Value supplied for mask. Keep referenced or pointed-to data valid for the complete call. |
Returns: MoveSample. Check the value before continuing when it represents success, availability or a resource handle.
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// ObjectId actor
// GameplayVector3 displacement
// uint32_t mask
auto result = epok::CollisionLibrary::move(actor, displacement, mask);It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/gameplay_api.hpp:255