Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::JointLimitOptimizer::SwingValues Struct Reference

#include <EditorJointOptimizer.h>

Public Member Functions

 SwingValues (const NumericalMethods::DoublePrecisionMath::Quaternion &quaternion)
 
double GetViolation (double tanQuarterSwingLimitY, double tanQuarterSwingLimitZ)
 

Public Attributes

double m_tanQuarterSwingY
 
double m_tanQuarterSwingZ
 

Detailed Description

Used to represent the extents of the two swing degrees of freedom during optimization of a PhysX D6 joint. Double precision is used because the BFGS optimization routine may not converge in single precision.


The documentation for this struct was generated from the following file: