TimeUtils.

FreezeRigidbody(Rigidbody, TimeUtils.RigidbodyFreezeType, bool) Method

Summary

Freeze a RigidBody component

Syntax

public static void FreezeRigidbody(Rigidbody rigidbody, TimeUtils.RigidbodyFreezeType freezeType, bool state)

Parameters

Name Type Description
rigidbody Rigidbody The Rigidbody
freezeType TimeUtils.RigidbodyFreezeType The type of freeze
state bool The state of freeze

Return Value

Type Description
void