[−][src]Struct amethyst_physics::objects::PhysicsAttachment
This component allows to resolve an Entity
transformation during the physics sub stepping.
Each physics sub step, the RigidBody
moves, and if you have an Area
attached to it, or a
kinematic body, is it necessary to move it also each sub step, in order to have a correct physics behaviour.
This component is useful only for game play implementation purposes, so it's not necessary in any way for rendering purposes.
Is necessary to also use the component Parent
.
Trait Implementations
impl<N: PtReal> Default for PhysicsAttachment<N>
[src]
impl<N: PtReal> Component for PhysicsAttachment<N>
[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.
Auto Trait Implementations
impl<N> Sync for PhysicsAttachment<N> where
N: Scalar,
N: Scalar,
impl<N> Send for PhysicsAttachment<N> where
N: Scalar,
N: Scalar,
impl<N> Unpin for PhysicsAttachment<N> where
N: Scalar + Unpin,
N: Scalar + Unpin,
impl<N> UnwindSafe for PhysicsAttachment<N> where
N: Scalar + UnwindSafe,
N: Scalar + UnwindSafe,
impl<N> RefUnwindSafe for PhysicsAttachment<N> where
N: RefUnwindSafe + Scalar,
N: RefUnwindSafe + Scalar,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> TryDefault for T where
T: Default,
T: Default,