Search Results for

    Show / Hide Table of Contents

    Class PhysicBody3D<T, K>

    PhysicBody3D enables your entities to act under the control of physics.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Behavior
    PhysicBody3D
    PhysicBody3D<T, K>
    CharacterController3D
    RigidBody3D
    StaticBody3D
    Implements
    IDependencyObject
    Inherited Members
    PhysicBody3D.Transform3D
    PhysicBody3D.PhysicManager3D
    PhysicBody3D.BeginCollision
    PhysicBody3D.EndCollision
    PhysicBody3D.UpdateCollision
    PhysicBody3D.colliderList
    PhysicBody3D.ProcessCollision
    PhysicBody3D.ColliderList
    PhysicBody3D.IsSensor
    PhysicBody3D.Friction
    PhysicBody3D.Restitution
    PhysicBody3D.RollingFriction
    PhysicBody3D.CcdMotionThreshold
    PhysicBody3D.CcdSweptSphereRadius
    PhysicBody3D.CollisionCategories
    PhysicBody3D.MaskBits
    PhysicBody3D.WorldToLocalPosition(Vector3)
    PhysicBody3D.WorldToLocalPosition(ref Vector3, out Vector3)
    PhysicBody3D.ContactTest(ICollection<ContactPoint3D>)
    PhysicBody3D.ContactPairTest(PhysicBody3D, ICollection<ContactPoint3D>)
    PhysicBody3D.ContactPairTest(Collider3D, PhysicBody3D, Collider3D, ICollection<ContactPoint3D>)
    PhysicBody3D.ResetTransform(Vector3, Quaternion, Vector3)
    PhysicBody3D.PointTest(Vector3)
    PhysicBody3D.OnActivated()
    PhysicBody3D.OnDeactivated()
    PhysicBody3D.OnTransformChanged(object, EventArgs)
    PhysicBody3D.Update(TimeSpan)
    Behavior.Family
    Behavior.UpdateOrder
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.Start()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class PhysicBody3D<T, K> : PhysicBody3D, IDependencyObject where T : IPhysicBody3D where K : PhysicBodyDef3D<T>, new()
    Type Parameters
    Name Description
    T

    The physics body interface.

    K

    The body definition class.

    Constructors

    PhysicBody3D()

    Initializes a new instance of the PhysicBody3D<T, K> class.

    Declaration
    public PhysicBody3D()

    Fields

    bodyDefinition

    Rigid body definition.

    Declaration
    protected K bodyDefinition
    Field Value
    Type Description
    K

    physicBody

    The rigid body.

    Declaration
    protected T physicBody
    Field Value
    Type Description
    T

    Properties

    BodyDef

    Gets the rigidbody.

    Declaration
    protected override PhysicBodyDef3D BodyDef { get; }
    Property Value
    Type Description
    PhysicBodyDef3D
    Overrides
    PhysicBody3D.BodyDef

    InternalBody

    Gets the rigid body.

    Declaration
    public override IPhysicBody3D InternalBody { get; }
    Property Value
    Type Description
    IPhysicBody3D
    Overrides
    PhysicBody3D.InternalBody

    Methods

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    PhysicBody3D.OnAttached()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    PhysicBody3D.OnDetach()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX