气体粒子模拟气体系统中的单个粒子。每个粒子被独立追踪,有一个唯一的名称和四个参数:
- position: The X/Y position of the particle relative, to the center of the world.
- velocity: the velocity of the particle. Unit: meters/second.
- force: the force with which the particle is moving around.
- mass: the mass of the particle. This influences forces with which the particle interacts with other items.