SetElementDepth3D(Vector3)
Set the element depth using the specified 3D position. The relevant axis will be extracted using the current PhysicsWorld.transformPlane. This is only used in the Unity Editor or in a Development Player. For more details, see PhysicsWorld.elementDepth.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public void SetElementDepth3D(Vector3 position)
Parameters
The 3D position to extract the element depth from.