Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PhysicsTriggerComponentBase Class

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll
    System.Object → EntityComponent → ActivableEntityComponent → PhysicsComponent → PhysicsTriggerComponentBase
    Derived from PhysicsTriggerComponentBase: PhysicsSkinnedComponentBase StaticColliderComponent

    [DataContract("PhysicsTriggerComponentBase")]
    [Display("PhysicsTriggerComponentBase", null)]
    public abstract class PhysicsTriggerComponentBase : PhysicsComponent, IIdentifiable
    Name Description
    Properties
    Enabled

    Gets or sets if this element is enabled in the physics engine

    IsTrigger
    Methods
    OnAttach()
    | Improve this Doc View Source

    Properties


    Enabled

    Gets or sets if this element is enabled in the physics engine

    [DataMember(-10)]
    public override bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, false

    Overrides
    PhysicsComponent.Enabled

    IsTrigger

    [DataMember(71)]
    public bool IsTrigger { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    OnAttach()

    protected override void OnAttach()
    Overrides
    PhysicsComponent.OnAttach()

    Inherited Members

    PhysicsComponent.logger
    PhysicsComponent.ColliderShapes
    PhysicsComponent.CollisionGroup
    PhysicsComponent.CanCollideWith
    PhysicsComponent.ProcessCollisions
    PhysicsComponent.CanSleep
    PhysicsComponent.IsActive
    PhysicsComponent.Activate(Boolean)
    PhysicsComponent.Restitution
    PhysicsComponent.Friction
    PhysicsComponent.RollingFriction
    PhysicsComponent.CcdMotionThreshold
    PhysicsComponent.CcdSweptSphereRadius
    PhysicsComponent.Collisions
    PhysicsComponent.NewCollision()
    PhysicsComponent.CollisionEnded()
    PhysicsComponent.Simulation
    PhysicsComponent.ColliderShapeChanged
    PhysicsComponent.colliderShape
    PhysicsComponent.ColliderShape
    PhysicsComponent.CanScaleShape
    PhysicsComponent.PhysicsWorldTransform
    PhysicsComponent.Tag
    PhysicsComponent.BoneWorldMatrix
    PhysicsComponent.BoneWorldMatrixOut
    PhysicsComponent.BoneIndex
    PhysicsComponent.Data
    PhysicsComponent.DebugEntity
    PhysicsComponent.AddDebugEntity(Scene, RenderGroup, Boolean)
    PhysicsComponent.RemoveDebugEntity(Scene)
    PhysicsComponent.UpdatePhysicsTransformation()
    PhysicsComponent.ComposeShape()
    PhysicsComponent.OnDetach()
    PhysicsComponent.OnUpdateDraw()
    PhysicsComponent.OnUpdateBones()
    PhysicsComponent.IgnoreCollisionWith(PhysicsComponent, CollisionState)
    PhysicsComponent.IsIgnoringCollisionWith(PhysicsComponent)
    EntityComponent.Entity
    EntityComponent.Id
    EntityComponent.EnsureEntity

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation