keep floor from falling?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
porcelina
Posts: 2
Joined: Sun Aug 21, 2011 11:22 pm

keep floor from falling?

Post by porcelina »

everything i add to the scene falls... obv that's expected behavior but how do i keep the floor from falling?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: keep floor from falling?

Post 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
porcelina
Posts: 2
Joined: Sun Aug 21, 2011 11:22 pm

Re: keep floor from falling?

Post by porcelina »

thanks. :D i think i missed the part about not passing a weight in when i read that before.
Post Reply