Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTargetVelocity(int, Vector3)

Set the target velocity the solver should aim reaching at a particular contact point in this contact pair.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void SetTargetVelocity(int i, Vector3 velocity)

Parameters

Index of the contact point.

velocity

The target velocity at a contact point.