Page 1 of 1

100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 7:14 am
by Wertyboy
How?

Re: 100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 7:20 am
by skydereign
I'm going to assume that means you want to have collisions when an actor is invisible. All you need to do is change their visibility state to DONT_DRAW_ONLY.
Code: Select all
VisibilityState("Event Actor", DONT_DRAW_ONLY);

Re: 100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 8:36 am
by Wertyboy
You always help me.... 1+ point for you

Re: 100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 11:04 am
by sonicfire
and (if i remember correctly) - dont do anything in the draw event of that actor, otherwise
DONT_DRAW_ONLY will still draw the actor!

Re: 100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 11:08 am
by skydereign
Nope, if that is happening for you it's probably a bug. That state skips the drawing of the actor, but all events act as if it was there.

Re: 100% Transparency but still can collide???

PostPosted: Fri May 20, 2011 5:10 pm
by sonicfire
you´re right :shock: then i dont know where i got this from.
weird. i remember experiencing this often... ok must be my mistake
somewhere else then. sorry :)

Re: 100% Transparency but still can collide???

PostPosted: Sun May 22, 2011 9:19 am
by lcl
For some reason DONT_DRAW_ONLY doesn't work always for me either.. :o