Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RigidBodyTypes Enum

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll

    public enum RigidBodyTypes

    Fields

    Name Description
    Dynamic

    The Physics engine is the authority for this kind of rigidbody, you should move them using forces and/or impulses, never directly editing the Transformation

    Kinematic

    You can move this kind of rigidbody around and the physics engine will interpolate and perform dynamic interactions with dynamic bodies Notice that there is no dynamic interaction with static and other kinematic bodies

    Static

    They are supposed to never move, they are not automatically updated by the engine. They can be moved tho by an explicit call to UpdateTransformation(), results are not realist for dynamic simulation so use it wisely. If you plan to move the entity it is advised to use Kinematic, which allows the normal dynamic simulation.

    Extension Methods

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

    Back to top

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