1. Home
  2. Docs
  3. Ignis
  4. Components
  5. Raycast Ignite

Raycast Ignite

With this component you can ignite the flammable objects. Attach this component to your custom object.

Direction: Direction of the raycast (world coordinates)

Start offset: Raycast start offset in world coordinates.

Check frequency: How often the raycast is raycasted (Only if Repeating raycast is checked)

Raycast Radius: Radius of the raycast.

Ignite power multiplier: If an object has Ignite time, how much ignition progress is added with each raycast. Current ignition time += Ignite power multiplier * Time.deltaTime.

Max dist: Maximum distance of the raycast.

Mask: Raycast mask.

Repeating raycast: Start repeating raycast on Start()

Leave a Reply

Your email address will not be published. Required fields are marked *