Pass through moving physics model

Hi,



I’m working on physics game (very simple), with jm3 Physics and was wondering how to make some physics models (RigidBodyControlled or CharacterControlled) pass through other model ?



for example :



A “ghosts character” (non-static physics model) has to be able to interact with JBullet PhysicsSpace (in order to not falling through floor cause gravity) BUT must be able to pass through other physics objects like walls, others ghosts… Everything but floor I guess…



So is there a way to make a physics model interact with some only some elements of the scene ?

ty in advance for help. Any idea would be greatly apreciate !

I’ve found this topic (http://hub.jmonkeyengine.org/groups/physics/forum/topic/objects-with-non-colliding-collisiongroup-still-collide/) which seems to solve my problem.

nvm