Jump to content

Sign in to follow this  
Devero

Razortooth Weight Bug... Math rollover error when empty

Recommended Posts

When my Razortooth is carrying 0 weight, his weight registers as a NEGATIVE 0.0.  (-0.0).

When this is doing is making it unable to move normally.  It follows you as if it were extremely overloaded.  (No saddle.  -0.0 weight.)

When I drop 2 arrows onto it, with a weight of 0.1, it behaves normally.

Please check out this math floating point error.

 

Thanks

Share this post


Link to post
Share on other sites

with float values this is an  issue 

in UE4 you can go negative or positive.   to which they should a gone with int variable as it can only be postive and no decimals and later you can make conversion on int.   the only reason to why you want to use float value is if you want precision such as rotator and location based.   Or if you really want to use negative value.  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...