setActivationState(0)

ole.k
Posts: 17
Joined: Thu Jun 12, 2008 1:32 pm

setActivationState(0)

Post by ole.k »

I am just going through the source code to see how activation and deactivation works. Line 366 of btRigidBody.h consists of the statement setActivationState(0); I am wondering if this should read setActivationState(ACTIVE); or something like this, as 0 is none of the predefined constants? If 0 is intended, it should be given a meaningful name.