Apply Impulse in 2.0

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
BoltonBeedz
Posts: 45
Joined: Fri Dec 07, 2007 12:58 am

Apply Impulse in 2.0

Post by BoltonBeedz »

does appyimpulse wake up the entity because im experiencing sleepy grenade problems
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Apply Impulse in 2.0

Post by Norbo »

Unfortunately, no; it doesn't wake objects up. This is a known problem and will be fixed with v0.3.0 (or an earlier patch release if it becomes apparent that 0.3.0 is going to take too long). Until then, using (Entity).isActive = true immediately before/after the applyImpulse call will force the object awake.
Post Reply