i6engine  1.0
Point2PointConstraintComponent.h File Reference

Go to the source code of this file.


class  i6e::api::Point2PointConstraintComponent
 Connects two PhysicalStateComponents in a point RELATIVE to their origin For creating a Point2PointConstraintComponent, these keys are possible:

Name Required Type Description Public
selfIdentifier yes std::string identifier for this constraint component, must be unique over the complete game yes
targetIdentifier yes std::string identifier of the constraint this component is connected to yes
selfOffset yes Vec3 offset on which this constraint is connected relative to origin yes
targetOffset yes Vec3 offset on which target constraint is connected relative to its origin yes
breakingImpulse no double impulse that is necessary to break connection, not breakable if not set yes