Inherits from OGWTask : NSObject
Declared in OGWSetVelocityTask.h

Overview

Sets the velocity of the entity when executed. Finishes instantaneously.

Requires the OGWKinematicsAspect to exist on the entity.

Class Methods

setVelocity:

Creates a new task that sets the entity’s velocity.

+ (id)setVelocity:(GWVector)velocity

Parameters

velocity

The velocity to set.

Return Value

The new task.

Declared In

OGWSetVelocityTask.h