#include <MRMovementBuildBody.h>
Public Attributes | |
bool | allowRotation { true } |
std::optional< Vector3f > | center |
std::optional< Vector3f > | bodyNormal |
const AffineXf3f * | b2tXf { nullptr } |
optional transform body space to trajectory space | |
bool MR::MovementBuildBodyParams::allowRotation { true } |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation
const AffineXf3f* MR::MovementBuildBodyParams::b2tXf { nullptr } |
optional transform body space to trajectory space
std::optional<Vector3f> MR::MovementBuildBodyParams::bodyNormal |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used
std::optional<Vector3f> MR::MovementBuildBodyParams::center |
point in body space that follows trajectory if not set body bounding box center is used