class MAGES::MeshDeformations::BaseConstraintSolver

Overview

A base implementation for a user defined constraint solver. More…

class BaseConstraintSolver:
    public MonoBehaviour,
    public MAGES.MeshDeformations.IConstraintSolver
{
public:
    // properties

    PhysicsWorld PhysicsWorld;
    int ExecutionOrder;

    // methods

    virtual void RegisterSolver();
    virtual void DeregisterSolver();
    JobHandle DispatchSolveJob(in float timeStep, JobHandle dependsOn);
};

// direct descendants

class DistanceJointSolver;
class PinJointSolver;
class Puncturable;

Detailed Documentation

A base implementation for a user defined constraint solver.

Properties

PhysicsWorld PhysicsWorld

Gets or sets the physics world in which this solver will be registered.

int ExecutionOrder

Gets or sets the execution order of this solver. The lower the value, the earlier it will be executed along other user defined solvers.