namespace: CurveArchitect.Objects
file: ArchitectCurveObject.cs
Description:
Component that is attached to any GameObject childed to an Architect Curve.
Public variables
Vector3 localCurvePosition
- The position the object has in local curve space.
Vector3 localCurveRotation
- The rotation the object has in local curve space.
Vector3 curvePosition
- The position the object has in curve space.
Vector3 curveRotation
- The rotation the object has in curve space.
bool mirrorDeformation
- Mirror the deformation.
Type type
- Deformer, follower or none.
State state
- Idle, Deforming.
NormalsState normalsState
- Ignore new normal calculations, calculate seamless normals or calculate normals.
TangetsState tangetsState
- Ignore new tangent calculations or calculate tangents.
Vector3Int followAxels
- Only follow the curve in x axels.
ArchitectCurve acParent
- The ArchitectCurve its deformed under.
ArchitectCurveObject acoParent
- If the aco is parented to another aco this is not null.
List<MeshContainer> meshContainers
- All meshContainers for colliders and meshes that should be deformed.
MonitorArchitectCurveObject monitor
- Monitors any changes on the ArchitectCurveObject.