import { Component, ContextManager } from '@zcomponent/core'; import { PhysicsConstraint, PhysicsConstraintBaseConstructorProps } from './PhysicsConstraint'; interface BallAndSocketConstraintConstructorProps extends PhysicsConstraintBaseConstructorProps { /** * @zprop * @zdefault [0, 0, 0] */ pivotA?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ pivotB?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ axisA?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ axisB?: [number, number, number]; } /** * Represents a Ball and Socket Constraint, used to simulate a joint * * This class is useful for simulating a joint between two bodies in a physics engine. * It allows for the two bodies to move relative to each other in a way that mimics a ball and socket joint, such as a shoulder or hip joint. * * @zbehavior * @zicon lock * @zparents three/Object3D/** * @zgroup Physics Constraints */ export declare class BallAndSocketConstraint extends PhysicsConstraint { constructor(contextManager: ContextManager, instance: Component, props: BallAndSocketConstraintConstructorProps); } export {};