Hodo33 Posted October 30, 2018 Share Posted October 30, 2018 I have implemented the door resource from Joshua Jewell later modified by Jeff Loveless. It has been working fine but I get occasional crash in bitstream.cpp void BitStream::writeBits(S32 bitCount, const void *bitPtr) where bitCount has no value therefore -> crashFrom the Door.cpp file bstream->writeBits( 32, &rotation ); not sure how it would fail.So the question is should I change this over to a writeFloat since rotation is a float value? In the engine (3.8) there is only one other place writeBits is even used so is that being depricated in favor of a writeFloat ?Not sure how that mechanism works other than to save net traffic sending only the number of bits needed and ignoring the lower part of the mantissa ... anyone guide me here?Thanks... Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.