XNACS1Lib: CSS490 Spring 2011
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Get/Set the direction of the velocity.
Namespace: XNACS1LibAssembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Syntax
C# |
---|
public Vector2 VelocityDirection { get; set; } |
Remarks
The speed upon which the primitive travels will not change,
only the direction will be updated.
Primitive with non-zero velocity will move only when ShouldTravel is set to true.