Jump to content

setWindVelocity


Recommended Posts

Posted

Hello guys,

Can anyone explain me setWindVelocity how it affects the game compaired to reallife data.

Is there such things a wind direction and windspeed?

Kind regards,

Billy

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted

Test it. Explaining it is a bit difficult since you probably have no idea what velocity really does to a element.

Simple examples without much effort for the velocity intensity part:

-- Wind towards north 
setWindVelocity( 0, 1, 0 ) 
  
-- Wind towards south 
setWindVelocity( 0, -1, 0 ) 
  
-- Wind towards west 
setWindVelocity( -1, 0, 0 ) 
  
-- Wind towards east 
setWindVelocity( 1, 0, 0 ) 
  
-- Wind towards north-west 
setWindVelocity( -1, 1, 0 ) 
  
-- Wind towards north-east 
setWindVelocity( 1, 1, 0 ) 
  
-- Wind towards south-west 
setWindVelocity( -1, -1, 0 ) 
  
-- Wind towards south-east 
setWindVelocity( 1, -1, 0 ) 

If I helped you, please click the like button on the right ;) Thanks!

Posted

Well I was about to test it but I didn't actually know how I'd see any difference thx tho this really helped me.

And as far as Velocity goes I see it as some sort of Speed.

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted
Well I was about to test it but I didn't actually know how I'd see any difference thx tho this really helped me.

And as far as Velocity goes I see it as some sort of Speed.

Velocity is speed with a direction (a vector).

Need a scripter? Feel free to contact me for inexpensive high-quality service!

Skype username: friedonibot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...