Page 1 of 1

keep floor from falling?

Posted: Sun Aug 21, 2011 11:24 pm
by porcelina
everything i add to the scene falls... obv that's expected behavior but how do i keep the floor from falling?

Re: keep floor from falling?

Posted: Sun Aug 21, 2011 11:52 pm
by Norbo
An entity can be either dynamic or kinematic. Dynamic entities can fall and bounce around. Kinematic entities have infinite mass and inertia, so nothing can change their velocity. To create a kinematic entity, simply do not pass a mass into the constructor. The GettingStartedDemo has more information: http://bepuphysics.codeplex.com/wikipag ... umentation

Re: keep floor from falling?

Posted: Mon Aug 22, 2011 12:04 am
by porcelina
thanks. :D i think i missed the part about not passing a weight in when i read that before.