not passable

Posted By: DAVIDMORETON

not passable - 07/15/15 11:23

HI Folks,
Another problem !! (I am using A7 with c-script)
I have a 'water' bmp - a quayside with water about a 1/2 meter below. If the bmp is vertical, I can pass through it, but if it is horizontal, it is a barrier !! I CAN WALK ON WATER !! (but I don't want to).
It would seem that the bmp loses it's passable effect at around 15 degrees from horizontal
'passable' is ticked, and I have tried using 'my.passable=on'.
Is there a work around for this please?
I NEED TO USE A BMP SO I CAN MOVE THE TEXTURE TO SHOW AS FLOWING WATER
Hopefully yours, David
Posted By: EpsiloN

Re: not passable - 07/16/15 18:35

There are many ways to make water moving. You can make a self-moving texture for 3DGS (check the default sky texture). You can also make a model and shift its skin texture coordinates...

But, for your problem, I have no idea what is causing it...
Posted By: DAVIDMORETON

Re: not passable - 07/17/15 15:21

Thanks for your reply, EpsoloN,

I still can't find out WHY the sprite is non passable when in horizontal position.
HAS ANYONE HAD THIS PROBLEM? and if so, how did you overcome it? (using the sprite)
David
Posted By: EpsiloN

Re: not passable - 07/17/15 18:35

If your script isnt big, try checking for errors...Maybe your player isnt ignoring passable in his move call? (IGNORE_PASSABLE)

Also, its a good idea to have a custom debug panel on the screen showing temporary numbers (temporary debug variables)
This way you can use one of those vars for the sprite "IS PASSABLE" flag...Maybe something is resetting that flag or is doing something that you didnt mean to do...
© 2024 lite-C Forums