Does Force.isActive work?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
BrianL
Posts: 54
Joined: Wed Jun 25, 2008 4:41 pm
Location: Panama City Beach, FL

Does Force.isActive work?

Post by BrianL »

I'm having trouble getting Force.isActive to work. Maybe I'm misunderstanding how it's supposed to work. Anyone have any tips or is anyone experiencing the same problem? Thanks.
User avatar
Zukarakox
Not a Site Admin
Posts: 426
Joined: Mon Jul 10, 2006 4:28 am

Re: Does Force.isActive work?

Post by Zukarakox »

Force.isActive allows you to turn the force on and off. isActive = false, the force will turn off, but still be there. isActive = true, it turns on.

I havn't used forces so I wouldn't really know if there is a bug or something.
i has multiple toes
BrianL
Posts: 54
Joined: Wed Jun 25, 2008 4:41 pm
Location: Panama City Beach, FL

Re: Does Force.isActive work?

Post by BrianL »

Zukarakox wrote:Force.isActive allows you to turn the force on and off. isActive = false, the force will turn off, but still be there. isActive = true, it turns on.
Yeah, that's how I understand it as well. However, setting isActive to false does not appear to work, unless there is something else I need to do in addition to that.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Does Force.isActive work?

Post by Norbo »

I'm not sure how this got broken, but it certainly is broken. Must have accidently deleted something in the last version. Another fix for v0.6.0 ;D
User avatar
Zukarakox
Not a Site Admin
Posts: 426
Joined: Mon Jul 10, 2006 4:28 am

Re: Does Force.isActive work?

Post by Zukarakox »

WAY TO GO NORBO, GEEZ.
i has multiple toes
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Does Force.isActive work?

Post by Norbo »

:D
Post Reply