Direction of waves on buoyancy effect

Post about the Flash World Construction Kit and the Alchemy port of Box2D.
pxblender
Posts: 3
Joined: Tue Aug 06, 2013 6:42 am

Direction of waves on buoyancy effect

Postby pxblender » Tue Aug 06, 2013 7:41 am

Hi,
I created the buoyancy effect, waves and a boat, and it works ok. I need to change the direction of the waves generation from right to left (default is left to right), but i can't figure out how.

Thanks in advance

IstvanOrosi
Posts: 172
Joined: Thu Mar 01, 2012 9:31 am

Re: Direction of waves on buoyancy effect

Postby IstvanOrosi » Wed Aug 07, 2013 5:00 pm

Have you looked at the WCK demo?

I haven't used waves before but changing a few values seemed to change the direction. Change the velocity to negative value and the wave will move to the left. You may also have to change the left and right properties to get the type of wave you want.

pxblender
Posts: 3
Joined: Tue Aug 06, 2013 6:42 am

Re: Direction of waves on buoyancy effect

Postby pxblender » Mon Aug 12, 2013 7:53 am

Thanks IstvanOrosi. To change the waves' direction, I setup the velocity to negative value and change the left and right properties.


Return to “WCK”



Who is online

Users browsing this forum: No registered users and 2 guests