PhysicsBody(PhysicsHandle)
Create a body from a physics handle. NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Constructor
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsBody(PhysicsHandle physicsHandle)
Parameters
The physics handle to use.