#[repr(C)]pub struct b3ShapeCastPairInput {
pub proxyA: b3ShapeProxy,
pub proxyB: b3ShapeProxy,
pub transform: b3Transform,
pub translationB: b3Vec3,
pub maxFraction: f32,
pub canEncroach: bool,
}Expand description
Input parameters for b3ShapeCast
Fields§
§proxyA: b3ShapeProxy< The proxy for shape A
proxyB: b3ShapeProxy< The proxy for shape B
transform: b3Transform< Transform of shape B in shape A’s frame, the relative pose B in A
translationB: b3Vec3< The translation of shape B, in A’s frame
maxFraction: f32< The fraction of the translation to consider, typically 1
canEncroach: bool< Allows shapes with a radius to move slightly closer if already touching
Trait Implementations§
Source§impl Clone for b3ShapeCastPairInput
impl Clone for b3ShapeCastPairInput
Source§fn clone(&self) -> b3ShapeCastPairInput
fn clone(&self) -> b3ShapeCastPairInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3ShapeCastPairInput
Auto Trait Implementations§
impl !Send for b3ShapeCastPairInput
impl !Sync for b3ShapeCastPairInput
impl Freeze for b3ShapeCastPairInput
impl RefUnwindSafe for b3ShapeCastPairInput
impl Unpin for b3ShapeCastPairInput
impl UnsafeUnpin for b3ShapeCastPairInput
impl UnwindSafe for b3ShapeCastPairInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more