how do remove a object from collisionsystem?

Aug 3, 2008 at 12:00 AM
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 9: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 2: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 8:00 PM
PhysicSystem.RemoveBody(body) or (the same) body.DisableBody()
Aug 7, 2008 at 1: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 12:45 PM
Edited Aug 7, 2008 at 12:46 PM
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.