Table of Contents

Method ApplyImpulseToCenter

Namespace
Box3D
Assembly
Box3D.NET.dll

ApplyImpulseToCenter(Vector3, bool)

Changes the velocity immediately, with no rotation.

public void ApplyImpulseToCenter(Vector3 impulse, bool wake = true)

Parameters

impulse Vector3

The impulse, in newton-seconds.

wake bool

Whether to wake the body first.

Remarks

For one-shot events such as an explosion or a jump. A sustained effect works better as a force, which the sub-stepping solver handles more smoothly.