About Store Forum Documentation Contact



Post Reply 
Questions about Water
Author Message
Qpalzmx Offline
Member

Post: #1
Questions about Water
Hello,

I created a lake in World Editor.
In the rendering tutorial 23, the Water class is used.
Is it possible to access the lake in code?

When I run the app, the lake is quiet like frozen.
How to make it waved?

Thanks!
(This post was last modified: 01-26-2010 05:11 AM by Qpalzmx.)
01-26-2010 05:07 AM
Find all posts by this user Quote this message in a reply
zyzix Offline
Member

Post: #2
RE: Problems about Water
Be sure to have all the correct materials applied, in the Update() Section you should have
Code:
// update water waves movement
Water.update(Vec2(0.01,0.01));
01-26-2010 05:12 AM
Find all posts by this user Quote this message in a reply
Post Reply