UnilateralPlaneConstraint
This component is a simple point plane collision model. By providing 4 points to the component, the first point will be constrained to stay in one side of the plane described by the three other points (in the direction of the plane normal). All the four points, the triangle and the normal can be seen by allowing the 'Collision Model' in the 'View' tab.
Vec3d
Templates:
- Vec3d
Target: SoftRobots
namespace: softrobots::constraint
parents:
- SoftRobotsConstraint
Data
Name | Description | Default value |
---|---|---|
name | object name | unnamed |
printLog | if true, emits extra messages at runtime. | 0 |
tags | list of the subsets the object belongs to | |
bbox | this object bounding box | |
componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
listening | if true, handle the events, otherwise ignore the events | 0 |
group | ID of the group containing this constraint. This ID is used to specify which constraints are solved by which solver, by specifying in each solver which groups of constraints it should handle. | 0 |
constraintIndex | Constraint index (first index in the right hand term resolution vector) | 0 |
endTime | The SoftRobotsConstraint stops acting after the given value. Use a negative value for infinite SoftRobotsConstraints | -1 |
indices | Four indices: -First one for the constrained point -The others to describe the plane | |
flipNormal | The normal must be to the direction of the point | 0 |
Links
Name | Description | Destination type name |
---|---|---|
context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) | BaseContext |
slaves | Sub-objects used internally by this object | BaseObject |
master | nullptr for regular objects, or master object for which this object is one sub-objects | BaseObject |