how do remove a object from collisionsystem?

Aug 2, 2008 at 11:00 PM
Hi folks...

I need do a object dont collide with other objects...

I think in to use CollisionSystem.RemoveCollisionSkin, but there say to "Dont Remove Skin..."

dont am using PhysicsSystem, only CollisionSystem...

some sugestion??


Aug 4, 2008 at 8:58 PM

Hmm maybe i'm not understanding you correctly... but if you don't want an object to have collisions... can't you simply not make it an rigid body, that is, don't add it to the physics?


Aug 6, 2008 at 1:11 AM

to be correct...

Im have a object, a cube, in the collisionsystem, it collide with all, but when it fall in the hole, it should dead, that is, to ramain translucent and cross all that is in your front/forward, dont collide more...

some sugestion???

Aug 6, 2008 at 7:00 PM
PhysicSystem.RemoveBody(body) or (the same) body.DisableBody()
Aug 7, 2008 at 12:08 AM
thanks noone88, but I dont using physicSystem, only collisionSystem... :-(

I can to use collisionSystem.RemoveCollisionSkin? there say to "dont remove wilst...", ... do can I?

Aug 7, 2008 at 11:45 AM
Edited Aug 7, 2008 at 11:46 AM
You have my permission to use that function :)  If I remember correctly the RemoveCollisionSkin Function should not be used while doing detection. Thats only important within the engine. Not from outside.