RayCast need to igniore a ghost object

Granyte
Posts: 77
Joined: Tue Dec 27, 2011 11:51 am

RayCast need to igniore a ghost object

Post by Granyte »

i'm building an aplication where i need a ghost object and a raycasted from the center of a rigid body to return thier collision with the other body in the world (non ghost object non ray cast and not the body at the center of the emition)

and basicaly i'm puzeled on how to do this cause for now they only return collisions with them selfs
i spent the night searching for a tutorial or some one who had a similar issue and i found nothing usefull

any one has a sugestion?
Granyte
Posts: 77
Joined: Tue Dec 27, 2011 11:51 am

Re: RayCast need to igniore a ghost object

Post by Granyte »

the solution was to use collision filtering on raycast