Get Float Value from Curve in C++
I often use FloatCurve or VectorCurve with a GetFloatValue node to obtain non-linear value based on another float value.
Im using these in tandem with a lot of calculation to generate rotations and positions for meshes and actors in my blueprints.
Is there a way to access a curve asset and do the same thing GetFloatValue does but in C++?
It seems that performance for heavy mathematical calculations would be better in C++ class.
Thanks for any help :o)
asked Aug 21 '14 at 08:09 PM in C++ Programming
Here you go call this in header
Make a curve blueprint in project and assign to this variable and use this in cpp
you can change DeltaSeconds to any value of your curve X-Axis.
answered Aug 22 '14 at 01:17 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here