PhysicsTransform
Create an identity transform.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
PhysicsTransform()
Create an identity transform.
public PhysicsTransform()
PhysicsTransform(Vector2)
Create a transformation with the specified translation and no rotation.
public PhysicsTransform(Vector2 position)
Parameters
The translation for the transformation.
PhysicsTransform(Vector2, PhysicsRotate)
Create a transformation with the specified translation and rotation.
public PhysicsTransform(Vector2 position, PhysicsRotate rotation)
Parameters
The translation for the transformation.
The rotation for the transformation.