use crate::dynamics::{GenericJoint, ImpulseJointHandle, RigidBodyHandle};
use crate::math::SpatialVector;
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Clone, Debug, PartialEq)]
pub struct ImpulseJoint {
pub body1: RigidBodyHandle,
pub body2: RigidBodyHandle,
pub data: GenericJoint,
pub impulses: SpatialVector,
pub(crate) handle: ImpulseJointHandle,
}