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.

Setup

  1. Download and import the RayFire integration from the Downloads page.
  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.