Game Development Community

ShapeBaseMasks limits

by Steven Chiu · in Torque Game Engine · 10/26/2004 (10:38 am) · 1 replies

Waht's the limit to set the ShapeBaseMasks? If it got a limit so how to extend it to allow more bits, try to implement the Hiding Meshes resource.

#1
10/26/2004 (2:15 pm)
You can find here a thread about this topic. The solution I posted there doesn't work, now I have the proof :) So I've changed all the packUpdate passing a BitVector class instead of a U32, so now I have an "unlimited" number of bits, but this is a huge task, it took me 14 hours to do it, 80% of the time was just needed to change all the packUpdate functions, the last 20% was used to fix te gameConnection functions and to extend the bitVector class. Please don't ask me to post a resource about this, I can assure that this is possible and it works, at least until now :), but perhaps just using a 64bits instead of U32 is enough and can save you a lot of work.