AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke

Home Page:http://andrestraks.github.io/BulletSharp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Objects in red color what value is used ?

petrasvestartas opened this issue · comments

Hi,

In demo simulations, when objects do not move/not colliding, they are colored in red.

What value do you use to determine this?

obj.ActivationState

colObj.ActivationState == ActivationState.ActiveTag ? activeColor : passiveColor