How do I set float to special values? (inf, -inf, NaN)

This is an old question but I am in the same boat. The exclusion of these in Blueprints seems very odd. They exist for a reason after all. In my case I have a function that calculates the semi major axis of an orbit. If an orbit is a parabola then the proper way to represent that SMA is with an infinity value. Easy to do in code, but apparently impossible in Blueprint.

1 Like