기술 자료

Unity Engine

Unity Engine

ApplyForceToCenter(Vector2, bool)

Apply a force to the center of mass. PhysicsBody.ApplyForceToCenter.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void ApplyForceToCenter(Vector2 force, bool wake = true)

Parameters

force

The world force vector, usually in newtons (N).

wake

Should the body be woken up.