targetarea - eisclimber/ExPresS-XR GitHub Wiki

ExPresSXR.Minigames.TargetArea Namespace

Summary

Classes for a minigame that requires the player to touch an area such as breaking objects with a pickaxe.

Classes

Name Description
BreakableModel Allows the visual destruction of an object by showing different models and/or using a material to change it's appearance.
This system can be used for tearing down wall to reveal something or sculpting something from stone.
Bear in mind that this is not about being physically accurate but rather about to revealing different versions of a model,
allowing you to break the model. This however requires you to make the model though.

As a an example shader for breaking" the texture you can use the "Breakable Stone Shader" in ExPresS XR's shader folder.| |TargetArea|Triggers a TargetArea that are set as target and tracks the progress of triggering all targets.| |TargetAreaTriggerer|Triggers a TargetArea that are set as target and tracks the progress of triggering all targets. Should be attached to the GameObject holding the Collider that is used as a trigger.|

⚠️ **GitHub.com Fallback** ⚠️