HandlingSetPercentSubmerged: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
 (New page: __NOTOC__ {{Server function}} Sets what percentage of the vehicle will be submerged if it enters water. A percentage of 0 means that it will stand on top of the water surface, a value of 1...)  | 
			
(No difference) 
 | 
Revision as of 22:21, 27 March 2008
Sets what percentage of the vehicle will be submerged if it enters water. A percentage of 0 means that it will stand on top of the water surface, a value of 100 means that it will immediately sink.
Syntax
bool handlingSetPercentSubmerged ( handling theHandling, float percentage )
Required Arguments
- theHandling: the handling of which you want to change the center of mass.
 - percentage: the submersion percentage, a value from 0-100.
 
Returns
Returns true on success, false in case of failure.
Example
--TODO