|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Angular roll constraint. More...
Public Member Functions | |
Functions | |
| void | SetbSoftConstraint (bool Value) |
| Whether we want to use a soft constraint (spring). | |
| FTwistConstraint & | opAssign (FTwistConstraint Other) |
| Public Member Functions inherited from FConstraintBaseParams | |
| void | SetbSoftConstraint (bool Value) |
| Whether we want to use a soft constraint (spring). | |
| FConstraintBaseParams & | opAssign (FConstraintBaseParams Other) |
Public Attributes | |
Angular | |
| EAngularConstraintMotion | TwistMotion |
| Indicates whether the Twist limit is used. | |
| float32 | TwistLimitDegrees |
| Symmetric angle of roll along the X-axis. | |
Constraint | |
| float32 | Damping |
| Damping of the soft constraint. Only used when Soft Constraint is on. | |
| float32 | Restitution |
| Controls the amount of bounce when the constraint is violated. A restitution value of 1 will bounce back with the same velocity the limit was hit. A value of 0 will stop dead. | |
| float32 | ContactDistance |
| Determines how close to the limit we have to get before turning the joint on. Larger value will be more expensive, but will do a better job not violating constraints. A smaller value will be more efficient, but easier to violate. | |
| float32 | Stiffness |
| Stiffness of the soft constraint. Only used when Soft Constraint is on. | |
| Public Attributes inherited from FConstraintBaseParams | |
| float32 | Damping |
| Damping of the soft constraint. Only used when Soft Constraint is on. | |
| float32 | Restitution |
| Controls the amount of bounce when the constraint is violated. A restitution value of 1 will bounce back with the same velocity the limit was hit. A value of 0 will stop dead. | |
| float32 | ContactDistance |
| Determines how close to the limit we have to get before turning the joint on. Larger value will be more expensive, but will do a better job not violating constraints. A smaller value will be more efficient, but easier to violate. | |
| float32 | Stiffness |
| Stiffness of the soft constraint. Only used when Soft Constraint is on. | |
Angular roll constraint.
| FTwistConstraint & opAssign | ( | FTwistConstraint | Other | ) |
| void SetbSoftConstraint | ( | bool | Value | ) |
Whether we want to use a soft constraint (spring).
| float32 ContactDistance |
Determines how close to the limit we have to get before turning the joint on. Larger value will be more expensive, but will do a better job not violating constraints. A smaller value will be more efficient, but easier to violate.
| float32 Damping |
Damping of the soft constraint. Only used when Soft Constraint is on.
| float32 Restitution |
Controls the amount of bounce when the constraint is violated. A restitution value of 1 will bounce back with the same velocity the limit was hit. A value of 0 will stop dead.
| float32 Stiffness |
Stiffness of the soft constraint. Only used when Soft Constraint is on.
| float32 TwistLimitDegrees |
Symmetric angle of roll along the X-axis.
| EAngularConstraintMotion TwistMotion |
Indicates whether the Twist limit is used.