Documentation

Page contents

Updated

Generate PDF from page.

Mesh Vertex Scaler Behavior

Files: CGFMeshVertexScalerBehavior.cs

Path: "CGF/Systems/ObjectMesh"

Description

Behavior that allows the associated GameObject to scale its "meshfilter" and "collider".

Reference

  • Rescale Collider – Allows rescaling the "collider".
  • Scale Percentage – Runtime value used by this component to configure scale percentage.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.