About Store Forum Documentation Contact



Post Reply 
Water and Actor
Author Message
Krzysiek1105 Offline
Member

Post: #1
Water and Actor
Hi.
How can I detect that the actor is under water?
11-24-2009 02:08 PM
Find all posts by this user Quote this message in a reply
mih Offline
Member

Post: #2
RE: Water and Actor
since the water is just a plane, and you know the position of that plane, i guess you can just check the position of the actor and look if it's lower than the position of the water plane
11-24-2009 02:22 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Water and Actor
not exactly since there can be many lakes (many planes), and also rivers which can have different height levels.

but no worries, in the next engine version there will be a function for detecting if position is underwater smile
11-24-2009 03:40 PM
Find all posts by this user Quote this message in a reply
Krzysiek1105 Offline
Member

Post: #4
RE: Water and Actor
Ok
11-24-2009 06:07 PM
Find all posts by this user Quote this message in a reply
Post Reply