Collision Question

How do I make a prop(I.E. a bottle) Only collide with other props and static meshes and not the player?

Thanks

I was wondering about this too a while ago, they use it in a lot of games. The only way I could think of it working is having a dynamic object have a force of +9.8 on the Z axis to cancel out gravity when it collides with anything excluding the player. But obviously you can’t do that as it would have high costs if there are many props.

As far as i know, collision masks are being worked on, but not implemented yet. I think that is what is needed to accomplish that.

Cool, I can’t Wait :smiley:

if its a FPS you can use constraints to keep the actual player mesh above the ground and the bottles, other than that, more thinking is required…ha!

Do you actually want things to be able to be thrown through the player, or is this so that the player can throw objects that he’s picked up without his collision mesh getting in the way?

I was thinking something like one rigid body chair would go right through a rigid body bottle. To save on little collisions.

Collision layers were apart of the harmony branch, you could shoot a message off to daniel stokes (kupoman) to see what the status of it is.

Collision masks/layers were part of the Cucumber branch, but the implementation used at that time caused some problems and was not robust enough to be very practical. Moguri took the patch and reimplemented it in a more proper fashion, though I don’t know the status of that new code.