Page 1 of 1

Curves in CRYENGINEV

Posted: Fri Nov 22, 2019 8:17 am
by quantbrain
Hello! How can I use curves in my c ++ code? For example, in the unreal engine, the UCurveFloat class is implemented. With it, I can work with a curve in my code.

Re: Curves in CRYENGINEV

Posted: Mon Dec 09, 2019 2:58 pm
by Cry-Flare
Hi there,

You can use the Bezier type.

Code: Select all

#include <CryMath/Bezier.h>
Or for segmented curves, or splines;

Code: Select all

#include <CryMath/ISplines.h>