| Parameter | Description |
|---|---|
| position | The 3D position to extract the element depth from. |
Set the element depth using the specified 3D position. The relevant axis will be extracted using the current PhysicsWorld.transformPlane.
If PhysicsWorld.TransformPlane.Custom is used, the element depth is always set to zero.
For more details, see PhysicsWorld.elementDepth.