|
group2 0.1.0
CSE 125 Group 2
|
Spherical/ball joint — locks the world-space anchor points of two bodies together while permitting arbitrary rotation. More...
#include <Joints.hpp>
Public Attributes | |
| entt::entity | bodyA {entt::null} |
| entt::entity | bodyB {entt::null} |
| glm::vec3 | localAnchorA {0.0f} |
| Anchor in body A's local frame. | |
| glm::vec3 | localAnchorB {0.0f} |
| Anchor in body B's local frame. | |
| glm::vec3 | accumulatedImpulse {0.0f} |
| Warm-started across frames. | |
| float | breakForce = 0.0f |
| If > 0, joint detaches when impulse exceeds. | |
Spherical/ball joint — locks the world-space anchor points of two bodies together while permitting arbitrary rotation.
| glm::vec3 physics::PointJoint::accumulatedImpulse {0.0f} |
Warm-started across frames.
| entt::entity physics::PointJoint::bodyA {entt::null} |
| entt::entity physics::PointJoint::bodyB {entt::null} |
| float physics::PointJoint::breakForce = 0.0f |
If > 0, joint detaches when impulse exceeds.
| glm::vec3 physics::PointJoint::localAnchorA {0.0f} |
Anchor in body A's local frame.
| glm::vec3 physics::PointJoint::localAnchorB {0.0f} |
Anchor in body B's local frame.