Rigidbody collision enabled, physics disabled

AndrewPolk
Posts: 1
Joined: Thu Mar 12, 2015 10:34 am

Rigidbody collision enabled, physics disabled

Post by AndrewPolk »

Hi all,

I have a rigidbody with the correct physics and collision callbacks. However, I want to make this object "invisible" so it is not considered in the physics (stepsimulation) but still generates the right collisions. Of course I can just not render it in my 3D scene but I somehow also need to make it "invisible" for the physics simulation so another objects can go through it. Does anyone has a suggestion how to do this? I guess this should just be a setting but until now I could not find it.

So in short, I still want the object to raise the right collision signals so I know when an other object collides with it / walks through it. But I would like that other objects can walk through it instead of bouncing of this object.


thanks in advance!
xarshi
Posts: 1
Joined: Wed Mar 18, 2015 7:36 pm

Re: Rigidbody collision enabled, physics disabled

Post by xarshi »

Haven't messed with it much myself but it seems pretty straight forward. Here's a link to an article on the wiki, specifically a subsection of it which uses ghost objects to look at the collisions. http://bulletphysics.org/mediawiki-1.5. ... hostObject