文档

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.
阅读时间1 分钟最后更新于 23 天前

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.