physenv.SetPerformanceSettings

From GMod Wiki

Jump to: navigation, search
Function
Syntax physenv.SetPerformanceSettings( Table Settings )
Where is this used?
Description:
Sets physics performance settings
Returns: nil
Part of Library: physenv
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Physenv.SetPerformanceSettings]Physenv.SetPerformanceSettings [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionChange max velocity from 4000 to 60000.
Used onNewerServer.png
Code
Settings = {}
Settings.MaxVelocity = 60000
physenv.SetPerformanceSettings(Settings)
 
OutputMax physics velocity is now 60000

Additional Notes

MaxCollisionsPerObjectPerTimestep (integer)
MaxCollisionChecksPerTimestep (integer)
MaxVelocity (float)
MaxAngularVelocity (float)
LookAheadTimeObjectsVsWorld (float)
LookAheadTimeObjectsVsObject (float)
MinFrictionMass (float)
MaxFrictionMass (float)
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox