XNACS1Lib: CSS490 Spring 2011
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Determines if this primitive collides with the otherPrimitive. If true, pos is the colliding position.
Namespace: XNACS1LibAssembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Syntax
C# |
---|
public bool Collided( XNACS1Primitive otherPrimitive, Vector2 pos ) |
Parameters
- otherPrimitive
- Type: XNACS1Lib..::..XNACS1Primitive
the other primitive.
- pos
- Type: Vector2
If two primitives collide, this is the "average" of all the possible colliding positions.