#5 bug in neRigidBodyBase::Active()

open
nobody
None
5
2008-06-05
2008-06-05
Anonymous
No

When I try to set any neRigidBody or neAnimatedBody to inactive when it is already false, it will make the neRigidBody or neAnimatedBody active. I could workaround that by checking it myself first, but I changed the the following bit from the top of the function.

was...

void neRigidBodyBase::Active(neBool yes, neRigidBodyBase * hint)
{
if (isActive && yes)
return;

now...

void neRigidBodyBase::Active(neBool yes, neRigidBodyBase * hint)
{
if (isActive == yes)
return;

which works much better.

-rjn

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks