Class SplineCollider
A collider represented by an arbitrary mesh that goes over the spline.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class SplineCollider : Collider, ISerializable
Constructors
SplineCollider()
Properties
CollisionData
Linked collision data asset that contains convex mesh or triangle mesh used to represent a spline collider shape.
Declaration
[EditorOrder(100)]
[EditorDisplay("Collider", null)]
[Unmanaged]
public CollisionData CollisionData { get; set; }
Property Value
CollisionData
|
PreTransform
Gets or sets the transformation applied to the collision data model geometry before placing it over the spline. Can be used to change the way model goes over the spline.
Declaration
[EditorOrder(101)]
[EditorDisplay("Collider", null)]
[Unmanaged]
public Transform PreTransform { get; set; }
Property Value
Transform
|