BxVertexAttractor Class Reference

Inherits MonoBehaviour.

Public Member Functions

void LinkToMesh (GameObject o, float radius)
 Link all vertices within a given sphere around current object to be displaced.

Protected Attributes

GameObject m_linkedObject = null
 linked gameobject on which vertices have to be displaced
List< int > m_verticesToDisplace = new List<int>()
 Indices of the vertices to be displaced.
Mesh m_mesh = null
 Mesh to be modified.
Mesh m_colliderMesh = null
 Collider mesh.
MeshCollider m_mc = null
 mesh Collider Behaviour
Vector3 m_lastPos =
 Last object position to check a displacement.

The documentation for this class was generated from the following file: