SetRagdollPhysicsActive

Method

Set ragdoll physics active state. This can only be done if ragdoll physics feature is enabled for the space.

Definition

void SetRagdollPhysicsActive(bool active, Vector3 initialVelocity)
void SetRagdollPhysicsActive(bool active, Vector3 initialVelocity)

Parameters

ParameterDescription
bool active

Active state of ragdoll

Vector3 initialVelocity

When activated, how much should the initial velocity be