Project X Forums



It is currently Thu Mar 28, 2024 11:59 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Current WIND speed in script (Helicopter)
PostPosted: Sun Aug 09, 2015 5:38 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
Is it possible to get the wind speed in script? In first instance I would like to have the Helicopter slightly affected by wind, but it would also have potential for other stuff.

I understand it is possible for a CGObject to use 'WindFactor' to set how much it is affected by wind, but in this case the Helicopter is a CWorm so this wont work?

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Current WIND speed in script (Helicopter)
PostPosted: Wed Aug 26, 2015 12:09 pm 
Offline
User avatar

Joined: Sat Nov 27, 2010 12:59 pm
Posts: 346
CWorm inherits from CGObject. Therefore, a CWorm has everything that CGObject has.
The current wind speed I think is in Env->Wind.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane