---
title: angularVelocityFactor
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicsbody/angularvelocityfactor
---

# angularVelocityFactor

A multiplier affecting how SceneKit applies rotations computed by the physics simulation to the node containing the physics body.

## Declaration

```swift
var angularVelocityFactor: SCNVector3 { get set }
```

## Discussion

Discussion Use this property to constrain or restrict the effect of physics simulation on the node containing the physics body. For example, you can force a body to rotate in only one axis by setting its angular velocity factor to {0.0, 1.0, 0.0}.

## See Also

### Defining How Forces Affect a Physics Body

- [physicsShape](scenekit/scnphysicsbody/physicsshape.md)
- [type](scenekit/scnphysicsbody/type.md)
- [SCNPhysicsBodyType](scenekit/scnphysicsbodytype.md)
- [velocityFactor](scenekit/scnphysicsbody/velocityfactor.md)
- [isAffectedByGravity](scenekit/scnphysicsbody/isaffectedbygravity.md)
