Particle Properties |
The Particle type exposes the following members.
Name | Description | |
---|---|---|
![]() | CollisionCount |
Returns the number of collisions involving this particle with
vertical walls, horizontal walls, or other particles.
This is equal to the number of calls to BounceOff(Particle),
BounceOffVerticalWall, and BounceOffHorizontalWall |
![]() | Mass |
The particle's mass
|
![]() | Radius |
The particle's radius
|
![]() | Vx |
Velocity along x-coordinate
|
![]() | Vy |
Velocity along y-coordinate
|
![]() | X |
The X coordinate from the left
|
![]() | Y |
The Y coordinate from the top
|