NiPSysPlanarCollider

From GECK
Jump to: navigation, search

NiPSysPlanarCollider is a flat collision shape for particle systems.

An example of a NiPSysPlanarCollider.

Its fields are:

  • Bounce: How strongly should particles bounce off this collider.
  • Spawn on Collide: If yes, new particles will spawn when particles impact the collider.
  • Die on Collide: If yes, particles will be killed upon impacting the collider.
  • Spawn Modifier: A NiPSysSpawnModifier in the particle system to use for spawning new particles.
  • Parent: Should always be the NiPSysColliderManager this NiPSysPlanarCollider is attached to.
  • Next Collider: Additional collider shapes can be chained to each other. Loops probably crash.
  • Collider Object: Specifies a NiNode to center the collision shape on.
  • Width: The width of the collider (in what units?)
  • Height: The height of the collider (in what units?)
  • X Axis: The local axis of the collider's width.
  • Y Axis: The local axis of the collider's height.