Disabling Collision Response

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
hahanoob
Posts: 5
Joined: Sun Feb 06, 2011 5:07 am

Disabling Collision Response

Post by hahanoob »

Is it possible to disable collision response for some entities? By that I mean I would still like my player to collide with walls and the floor and such but other than that (and maybe gravity) I don't want any forces acting on him except for those I give him.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Disabling Collision Response

Post by Norbo »

One option would be to use the collision rules system. Each entity has a CollisionRules property which includes a variety of ways you can control how it can collide with stuff.

A thorough description can be found here:
http://www.bepu-games.com/BEPUphysics/d ... tation.pdf
Garold
Posts: 60
Joined: Fri Sep 23, 2011 5:17 pm
Location: Liverpool, England

Re: Disabling Collision Response

Post by Garold »

The link to the file above is broken.
BEPUphysics rules my world
http://cloneofduty.com
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Disabling Collision Response

Post by Norbo »

Documentation is now on codeplex, which can be found here: http://bepuphysics.codeplex.com/wikipag ... umentation
Post Reply