# SetPhysicsThreading

## Description

Sets the number of threads to use during physics. A value of 0 or 1 turns off multi-threading, a value of minus 1 chooses a value matching the number of processors in the device for best performance. Using a value higher than the number of processors in the device is likely to hurt performance. Default is minus 1.

## Definition

SetPhysicsThreading( threads )

void agk::SetPhysicsThreading( int threads )