MoCapRigidBody.Update C# (CSharp) Method

Update() public method

public Update ( Vector3 p, Quaternion r ) : void
p Vector3
r Quaternion
return void
    public void Update(Vector3 p, Quaternion r)
    {
        position = p;
        rotation = r;

        foreach(GameObject o in followerGameObjects){
            o.transform.localPosition = p;
            o.transform.localRotation = r;
        }

        // trigger callback event so users can hook into it
        // disabled, replaced by the OnRigidBodyUpdate event in the MoCapOscInterface class
        // and the followerGameObjects mechanism
        //OnUpdate (this);
    }