Rigidbody2D

Rigidbody2D(FlexibleRigidbody2D)

public static explicit Rigidbody2D(FlexibleRigidbody2D flexible) ;

Description

Cast FlexibleRigidbody2D to Rigidbody2D.

Parameters

Parameter Name Description
flexible FlexibleRigidbody2D

Returns

Returns the result of casting to Rigidbody2D.