Blender  V3.3
Functions | Variables
btHinge2Constraint.h File Reference
#include "LinearMath/btVector3.h"
#include "btTypedConstraint.h"
#include "btGeneric6DofSpring2Constraint.h"

Go to the source code of this file.

Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
 btHinge2Constraint (btRigidBody &rbA, btRigidBody &rbB, btVector3 &anchor, btVector3 &axis1, btVector3 &axis2)
 
const btVector3getAnchor ()
 
const btVector3getAnchor2 ()
 
const btVector3getAxis1 ()
 
const btVector3getAxis2 ()
 
btScalar getAngle1 ()
 
btScalar getAngle2 ()
 
void setUpperLimit (btScalar ang1max)
 
void setLowerLimit (btScalar ang1min)
 

Variables

btHinge2Constraint __pad0__
 
btVector3 m_axis1
 
btVector3 m_axis2
 

Function Documentation

◆ BT_DECLARE_ALIGNED_ALLOCATOR()

BT_DECLARE_ALIGNED_ALLOCATOR ( )

◆ btHinge2Constraint()

btHinge2Constraint::btHinge2Constraint ( btRigidBody rbA,
btRigidBody rbB,
btVector3 anchor,
btVector3 axis1,
btVector3 axis2 
)

◆ getAnchor()

const btVector3& getAnchor ( )

Definition at line 44 of file btHinge2Constraint.h.

References m_calculatedTransformA.

◆ getAnchor2()

const btVector3& getAnchor2 ( )

Definition at line 45 of file btHinge2Constraint.h.

References m_calculatedTransformB.

◆ getAngle1()

btScalar getAngle1 ( )

Definition at line 48 of file btHinge2Constraint.h.

References getAngle().

◆ getAngle2()

btScalar getAngle2 ( )

Definition at line 49 of file btHinge2Constraint.h.

References getAngle().

◆ getAxis1()

const btVector3& getAxis1 ( )

Definition at line 46 of file btHinge2Constraint.h.

References m_axis1.

◆ getAxis2()

const btVector3& getAxis2 ( )

Definition at line 47 of file btHinge2Constraint.h.

References m_axis2.

◆ setLowerLimit()

void setLowerLimit ( btScalar  ang1min)

Definition at line 52 of file btHinge2Constraint.h.

References btVector3, and setAngularLowerLimit().

◆ setUpperLimit()

void setUpperLimit ( btScalar  ang1max)

Definition at line 51 of file btHinge2Constraint.h.

References btVector3, and setAngularUpperLimit().

Variable Documentation

◆ __pad0__

Definition at line 29 of file btHinge2Constraint.h.

◆ m_axis1

btVector3 m_axis1

Definition at line 33 of file btHinge2Constraint.h.

Referenced by btUniversalConstraint(), and getAxis1().

◆ m_axis2

btVector3 m_axis2

Definition at line 34 of file btHinge2Constraint.h.

Referenced by btUniversalConstraint(), and getAxis2().