RayFire

The Ultimate Character Controller is integrated with RayFire allowing your weapons to damage a RayFireRigid or RayfireShatter object. This integration can be downloaded from one of the pages listed below.

Downloads

Ultimate Character Controller
First Person Controller
Third Person Controller
UFPS: Ultimate First Person Shooter
UTPS: Ultimate Third Person Shooter
UFPM: Ultimate First Person Melee
UFPM: Ultimate Third Person Melee

Setup

  1. Install the integration from above.
  2. Setup your RayFire object according to the RayFire documentation.
  3. Add the RayFireImpact component to the GameObject that contains the colliders used by the RayFire component. In most cases this will be on the same GameObject that the RayFireRigid or RayFireShatter component exists. If the object has already been fragmented and the parent GameObject does not contain a collider then each child collider should have the RayFireImpact component added.
  4. The object will automatically be shattered when the OnObjectImpact event is called on the RayFireImpact component.

Inspected Fields

Damage Multiplier

The damage multiplayer that should be applied to the RayfireRigid object.