Post Reply
Posts: 25
Joined: Sat Dec 29, 2012 7:20 pm


Post by Nickert » Sun Apr 21, 2013 7:21 pm

When I set CF_NO_CONTACT_RESPONSE as a flag on a btRigidBody, that's all that's necessary to only detect collisions but not act upon them right?

Code: Select all

		//! The body will come into contact, (so it will register that it hit something) but will not actually bounce back or something, just pass through. Like a ghost.
		void disable_contact_response(){
			physical_body->setCollisionFlags(physical_body->getCollisionFlags() | btCollisionObject::CF_NO_CONTACT_RESPONSE);
I now have that.. should that do the trick described in the comment?

Post Reply