Immediately sets the sprite's velocity to the given direction.
procedure SetPhysicsVelocity(const Velocity: TAgkVector); overload;
|
Parameters |
Description |
|
const Velocity: TAgkVector |
The new velocity. |
This is an abrupt change that might not look right during the physics simulation, forces and impulses are the preferred approach to influencing velocity.
|
Copyright (c) 2012. All rights reserved.
|